1 |
commit: c4e630f70e419f5ba3e3270f0f4d694f399e6c55 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 20 21:35:03 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 20 21:35:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e630f7 |
7 |
|
8 |
app-misc/digitemp: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
app-misc/digitemp/Manifest | 1 - |
14 |
app-misc/digitemp/digitemp-3.5.0-r2.ebuild | 75 ------------------------------ |
15 |
2 files changed, 76 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/digitemp/Manifest b/app-misc/digitemp/Manifest |
18 |
index 9518142baff..53e6100009d 100644 |
19 |
--- a/app-misc/digitemp/Manifest |
20 |
+++ b/app-misc/digitemp/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST digitemp-3.5.0.tar.gz 267947 BLAKE2B bdd5cd84160d4826205ac74676897b9caa296c203fcde738c99f89baaeb7637f3995afeb7741e1d1d3e6cb64776de2479fe7d54d1b499a400cbf7b59f8d46349 SHA512 59055a97ae35cdc86bb893a755975b688d3be9185e717f5da0024d664e6c93dd5a7f10f1230772c3bc1bc76a088392da083ba63d28e054727b9f68ce31de64d3 |
23 |
DIST digitemp-3.7.1.tar.gz 144870 BLAKE2B 5d00197ba0122772d96c3185f430119961d214f50dc07dcd5881e1aa1135283680ff38b4d92736827f5c7644b11930b9418b8467f276e832e40f4228d08d1774 SHA512 e5eaf576b544c61049a358dece7dc96d9793b751ef08645060f3b2c1a2006e2906c3aa3f97de3dab46818290d664d2e784a948b2495b538a200b6d71b03173d2 |
24 |
|
25 |
diff --git a/app-misc/digitemp/digitemp-3.5.0-r2.ebuild b/app-misc/digitemp/digitemp-3.5.0-r2.ebuild |
26 |
deleted file mode 100644 |
27 |
index cd0f7c008a7..00000000000 |
28 |
--- a/app-misc/digitemp/digitemp-3.5.0-r2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,75 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-inherit toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol" |
39 |
-HOMEPAGE="https://www.digitemp.com/ https://www.ibutton.com/" |
40 |
-SRC_URI="https://www.digitemp.com/software/linux/${P}.tar.gz" |
41 |
- |
42 |
-IUSE="ds9097 ds9097u ds2490" |
43 |
-SLOT="0" |
44 |
-LICENSE="GPL-2" |
45 |
-KEYWORDS="amd64 x86" |
46 |
- |
47 |
-DEPEND="ds2490? ( virtual/libusb:0 )" |
48 |
- |
49 |
-targets() { |
50 |
- # default is to compile to the ds9097u. |
51 |
- if ! ( use ds9097 || use ds9097u || use ds2490 ); then |
52 |
- echo ds9097u |
53 |
- fi |
54 |
- for target in ds9097 ds9097u ds2490; do |
55 |
- if use ${target}; then |
56 |
- echo ${target} |
57 |
- fi |
58 |
- done |
59 |
-} |
60 |
- |
61 |
-src_prepare() { |
62 |
- sed -i -e "/^CFLAGS/s:-O2:${CFLAGS}:" \ |
63 |
- -e "/^LIBS/s:=:= ${LDFLAGS}:" Makefile |
64 |
- # default is to compile to the ds9097u. |
65 |
- if ! ( use ds9097 || use ds9097u || use ds2490 ); then |
66 |
- ewarn "If you don't choose a component to install, we default to ds9097u" |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- local targets=$(targets) |
72 |
- |
73 |
- for target in $targets; do |
74 |
- emake clean |
75 |
- emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed" |
76 |
- done |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do |
81 |
- dobin digitemp_${target} && \ |
82 |
- dosym digitemp_${target} /usr/bin/digitemp |
83 |
- done |
84 |
- |
85 |
- if [[ $(targets|wc -l) -ge 1 ]]; then |
86 |
- echo |
87 |
- ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}" |
88 |
- ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*" |
89 |
- echo |
90 |
- fi |
91 |
- |
92 |
- dodoc README FAQ TODO |
93 |
- |
94 |
- for example in perl python rrdb; do |
95 |
- insinto "/usr/share/doc/${PF}/${example}_examples" |
96 |
- doins -r ${example}/* |
97 |
- done |
98 |
-} |
99 |
- |
100 |
-pkg_postinst() { |
101 |
- echo |
102 |
- elog "Examples of using digitemp with python, perl, and rrdtool are" |
103 |
- elog "located in /usr/share/doc/${PF}/" |
104 |
- echo |
105 |
-} |