Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwids/
Date: Sun, 07 Feb 2021 18:09:18
Message-Id: 1612721351.c17250c70508f5c6a13a680caff69e3bd8026711.floppym@gentoo
1 commit: c17250c70508f5c6a13a680caff69e3bd8026711
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 7 17:44:50 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 7 18:09:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17250c7
7
8 sys-apps/hwids: remove old
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 sys-apps/hwids/Manifest | 2 -
13 sys-apps/hwids/hwids-20200204.ebuild | 89 ------------------------------------
14 sys-apps/hwids/hwids-20200306.ebuild | 89 ------------------------------------
15 3 files changed, 180 deletions(-)
16
17 diff --git a/sys-apps/hwids/Manifest b/sys-apps/hwids/Manifest
18 index 3dd11da5b30..62a2e2233eb 100644
19 --- a/sys-apps/hwids/Manifest
20 +++ b/sys-apps/hwids/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST hwids-20200204.tar.gz 3495191 BLAKE2B 23075b6728d9b0e020be45729d0df4cef95cac5e912e646b612266337d1add59c87a1031e6672c5b6eb23e13c26e6299b62a5886aa25017242a86fd474c1e9ae SHA512 1d2a9baaa7ab64575a3d9b98ae4df9060cb8593ae752365296dd53b18bc5996170bbfe1c5b4b1ffc24b28e3dbaa7c321c4fa333bbf91449a6ca7b187cbe23741
23 -DIST hwids-20200306.tar.gz 3512152 BLAKE2B 6a6ee48598e72f97a90bff8f45aacb699218570ede5b60ed119ebae78de6cd4b92e02f96cf57c83710da699be9a7dcdfdef8d404539e04b664298874b35e54ce SHA512 eff1d2783925ca459b387fbaa5cf68a98aa4209ab8509ad92a902b4d02cc7f4a47e5506c2beed4c792d24a8ab636ad77b376a92b59ae4f605d1b5258350ff250
24 DIST hwids-20200813.1.tar.gz 3680906 BLAKE2B 652cf4b05ead42a750c6f41ad78650ea8b0125f90563dec37bfa8388d021ceab12e94fd2f949b3f7b3b7c09a356d279b91e62164af2cf066cfee07ab583f8b83 SHA512 5ba15067969fa19d3218f523c1a0186568841466de4d18c563b5f09202ab7185c4df02b962f70eb6d3e99915caad8a743fc6c6349f49b666db742f9ced8053fc
25 DIST hwids-20201207.tar.gz 3749352 BLAKE2B a968e6daf5686c4f73d9d900fbe80a5b3844c006102ed8801f88e378dc43c1bb66aaeced42bc2703a9c8ad624a1a7167bba485b1bf0c0d0e6043920e015c9177 SHA512 ec638edd1bbf00bd66e9baa50e3b9c9a5004a96a359e6bea306f1509c69bb3c7ede3569174007ab8bde11d49300da452b06be96136cde6bd2d84a76cff9251c2
26
27 diff --git a/sys-apps/hwids/hwids-20200204.ebuild b/sys-apps/hwids/hwids-20200204.ebuild
28 deleted file mode 100644
29 index 13c9146d091..00000000000
30 --- a/sys-apps/hwids/hwids-20200204.ebuild
31 +++ /dev/null
32 @@ -1,89 +0,0 @@
33 -# Copyright 2012-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit udev
39 -
40 -DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
41 -HOMEPAGE="https://github.com/gentoo/hwids"
42 -if [[ ${PV} == 99999999 ]]; then
43 - PYTHON_COMPAT=( python3_{6,7} )
44 - inherit git-r3 python-any-r1
45 - EGIT_REPO_URI="https://github.com/gentoo/hwids.git"
46 -else
47 - SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
48 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
49 -fi
50 -
51 -LICENSE="|| ( GPL-2 BSD ) public-domain"
52 -SLOT="0"
53 -IUSE="+net +pci +udev +usb"
54 -
55 -RDEPEND="
56 - udev? ( virtual/udev )
57 -"
58 -
59 -if [[ ${PV} == 99999999 ]]; then
60 - BDEPEND="
61 - net-misc/curl
62 - udev? ( $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') )
63 - "
64 - python_check_deps() {
65 - if use udev; then
66 - has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]"
67 - fi
68 - }
69 -else
70 - S=${WORKDIR}/hwids-${P}
71 -fi
72 -
73 -pkg_setup() {
74 - :
75 -}
76 -
77 -src_unpack() {
78 - if [[ ${PV} == 99999999 ]]; then
79 - git-r3_src_unpack
80 - cd "${S}" || die
81 - emake fetch
82 - else
83 - default
84 - fi
85 -}
86 -
87 -src_prepare() {
88 - default
89 - sed -i -e '/udevadm hwdb/d' Makefile || die
90 -}
91 -
92 -_emake() {
93 - emake \
94 - NET=$(usex net) \
95 - PCI=$(usex pci) \
96 - UDEV=$(usex udev) \
97 - USB=$(usex usb) \
98 - "$@"
99 -}
100 -
101 -src_compile() {
102 - if [[ ${PV} == 99999999 ]] && use udev; then
103 - python_setup
104 - _emake udev-hwdb
105 - fi
106 - _emake
107 -}
108 -
109 -src_install() {
110 - _emake install \
111 - DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
112 - MISCDIR="${EPREFIX}/usr/share/misc" \
113 - HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
114 - DESTDIR="${D}"
115 -}
116 -
117 -pkg_postinst() {
118 - if use udev; then
119 - udevadm hwdb --update --root="${ROOT}"
120 - fi
121 -}
122
123 diff --git a/sys-apps/hwids/hwids-20200306.ebuild b/sys-apps/hwids/hwids-20200306.ebuild
124 deleted file mode 100644
125 index c964e6ebfa1..00000000000
126 --- a/sys-apps/hwids/hwids-20200306.ebuild
127 +++ /dev/null
128 @@ -1,89 +0,0 @@
129 -# Copyright 2012-2020 Gentoo Authors
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=7
133 -
134 -inherit udev
135 -
136 -DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
137 -HOMEPAGE="https://github.com/gentoo/hwids"
138 -if [[ ${PV} == 99999999 ]]; then
139 - PYTHON_COMPAT=( python3_{6,7} )
140 - inherit git-r3 python-any-r1
141 - EGIT_REPO_URI="https://github.com/gentoo/hwids.git"
142 -else
143 - SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
144 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
145 -fi
146 -
147 -LICENSE="|| ( GPL-2 BSD ) public-domain"
148 -SLOT="0"
149 -IUSE="+net +pci +udev +usb"
150 -
151 -RDEPEND="
152 - udev? ( virtual/udev )
153 -"
154 -
155 -if [[ ${PV} == 99999999 ]]; then
156 - BDEPEND="
157 - net-misc/curl
158 - udev? ( $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') )
159 - "
160 - python_check_deps() {
161 - if use udev; then
162 - has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]"
163 - fi
164 - }
165 -else
166 - S=${WORKDIR}/hwids-${P}
167 -fi
168 -
169 -pkg_setup() {
170 - :
171 -}
172 -
173 -src_unpack() {
174 - if [[ ${PV} == 99999999 ]]; then
175 - git-r3_src_unpack
176 - cd "${S}" || die
177 - emake fetch
178 - else
179 - default
180 - fi
181 -}
182 -
183 -src_prepare() {
184 - default
185 - sed -i -e '/udevadm hwdb/d' Makefile || die
186 -}
187 -
188 -_emake() {
189 - emake \
190 - NET=$(usex net) \
191 - PCI=$(usex pci) \
192 - UDEV=$(usex udev) \
193 - USB=$(usex usb) \
194 - "$@"
195 -}
196 -
197 -src_compile() {
198 - if [[ ${PV} == 99999999 ]] && use udev; then
199 - python_setup
200 - _emake udev-hwdb
201 - fi
202 - _emake
203 -}
204 -
205 -src_install() {
206 - _emake install \
207 - DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
208 - MISCDIR="${EPREFIX}/usr/share/misc" \
209 - HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
210 - DESTDIR="${D}"
211 -}
212 -
213 -pkg_postinst() {
214 - if use udev; then
215 - udevadm hwdb --update --root="${ROOT}"
216 - fi
217 -}