From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwids/
Date: Fri, 4 Nov 2016 01:48:14 +0000 (UTC) [thread overview]
Message-ID: <1478224093.2257d1f32b6301fd4f232e6c8e7667aa81169c24.floppym@gentoo> (raw)
commit: 2257d1f32b6301fd4f232e6c8e7667aa81169c24
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 4 01:47:59 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Nov 4 01:48:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2257d1f3
sys-apps/hwids: bump to 20161103
Package-Manager: portage-2.3.2_p4
sys-apps/hwids/Manifest | 1 +
...hwids-99999999.ebuild => hwids-20161103.ebuild} | 31 +++++++++++-----------
sys-apps/hwids/hwids-99999999.ebuild | 31 +++++++++++-----------
3 files changed, 33 insertions(+), 30 deletions(-)
diff --git a/sys-apps/hwids/Manifest b/sys-apps/hwids/Manifest
index df5b40d..709d2e1 100644
--- a/sys-apps/hwids/Manifest
+++ b/sys-apps/hwids/Manifest
@@ -2,3 +2,4 @@ DIST hwids-20150717.tar.gz 1745565 SHA256 5a4769cd0e57a96c2693e7ec3d48f53e493afa
DIST hwids-20160306.tar.gz 1900745 SHA256 d5ae6937e87c4ae0a4dad84b8a917434831eda15b0bfcc5a8444bfca84279645 SHA512 766736ed2586ea163b0ea97654d6b73314bacc822d26f9d823dcd9de8661747a0372b0cd754b3c2605c6b1795440f87df126beafc391cf64577f461bd27b5e6c WHIRLPOOL 9a5d38fb4afa232917f69aa8d1fde3e55e20674d740941a392ee7cfa3f7d64d679a6e0a96553fb6c327bf5c98a1c3e8f6eff902dda99751dd5a15c6c20585022
DIST hwids-20160421.tar.gz 1916501 SHA256 dcdfbb732e08ca3822c98599dc0a04c6dad092ee46441f9afec9e42d9a978d5f SHA512 7097dc74cd1db3e9695502d4ca49ff0c3a59d169cd15dd6d03841900a9c5e13f89becc12bbc1a673386c6f7620a916e0edb7c5704990991beb21fc21d5deb673 WHIRLPOOL 42641b19601ba62d2f136d263342a39e56147cb89f557408677868215b83cf8466a8d5bb9127f28113c6097d08e05a194b4e78c8e6dd2222371f180d1b3cff24
DIST hwids-20160801.tar.gz 1957408 SHA256 404c1fca03d11c90e21de9e3bec10600b0bbaefede1dcb71ff520bff8dfb6aec SHA512 c233f9a44e813efbef302c0d7aefff9168b8bb6f48e537ae6568ca89944f69cde3fd9d618019fdd8fbe442ef4a85bfcfe762b9837fea82d8f219155ff5551f77 WHIRLPOOL b24da4e6e6c9b5a8894e2b42cf29ae2ee8c40ea198290aa87e622b2db16f50c6c0f4e059aa8f2501e2a8ebc6e5e04372ea224bdf17bdcadbe94f6f73470c30ec
+DIST hwids-20161103.tar.gz 2000437 SHA256 3353680623b97ffb3e73486dac7e9d61cb58889544aeefd6bbe12d51189e4313 SHA512 8bdd01a27b18661a186d9f04a5e30b28d73c13c8b1f10f26ccb8103857dcd7f74ebde228f0be8c7b87cc29087315c60e56bfedaab934f51cb78f8b710057961a WHIRLPOOL d2bcb220f9bbdce0e567c5da968c8980d336d2716b7974e5cf4ff477e5c87892f6fd5a9ca5b07620ba789d70c4cc75870d42f3efab9d05629c34161a2ececa6a
diff --git a/sys-apps/hwids/hwids-99999999.ebuild b/sys-apps/hwids/hwids-20161103.ebuild
similarity index 64%
copy from sys-apps/hwids/hwids-99999999.ebuild
copy to sys-apps/hwids/hwids-20161103.ebuild
index 3ed137f..2b7cac3 100644
--- a/sys-apps/hwids/hwids-99999999.ebuild
+++ b/sys-apps/hwids/hwids-20161103.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
inherit udev eutils
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
HOMEPAGE="https://github.com/gentoo/hwids"
if [[ ${PV} == "99999999" ]]; then
+ inherit git-r3
EGIT_REPO_URI="${HOMEPAGE}.git"
- inherit git-2
else
SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
@@ -27,20 +27,23 @@ DEPEND="udev? (
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
-S=${WORKDIR}/hwids-${P}
+if [[ ${PV} != 99999999 ]]; then
+ S=${WORKDIR}/hwids-${P}
+fi
-src_prepare() {
- [[ ${PV} == "99999999" ]] && emake fetch
+src_unpack() {
+ if [[ ${PV} == 99999999 ]]; then
+ git-r3_src_unpack
+ cd "${S}" || die
+ emake fetch
+ else
+ default
+ fi
+}
+src_prepare() {
+ default
sed -i -e '/udevadm hwdb/d' Makefile || die
-
- # Create a rules file compatible with older udev.
- sed -e 's/evdev:name/keyboard:name/' \
- -e 's/evdev:atkbd:dmi/keyboard:dmi/' \
- -e 's/evdev:input:b\([^v]*\)v\([^p]*\)p\([^e]*\)\(e.*\)\?/keyboard:usb:v\2p\3/' \
- -e 's/keyboard:usb:v046DpC52D\*/keyboard:usb:v046DpC52Dd*dc*dsc*dp*ic*isc*ip*in00*/' \
- -e 's/keyboard:usb:v0458p0708\*/keyboard:usb:v0458p0708d*dc*dsc*dp*ic*isc*ip*in01*/' \
- udev/60-keyboard.hwdb > udev/61-oldkeyboard.hwdb || die
}
_emake() {
@@ -67,7 +70,5 @@ src_install() {
pkg_postinst() {
if use udev; then
udevadm hwdb --update --root="${ROOT%/}"
- # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
- [ "${ROOT:-/}" = "/" ] && udevadm control --reload
fi
}
diff --git a/sys-apps/hwids/hwids-99999999.ebuild b/sys-apps/hwids/hwids-99999999.ebuild
index 3ed137f..2b7cac3 100644
--- a/sys-apps/hwids/hwids-99999999.ebuild
+++ b/sys-apps/hwids/hwids-99999999.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
inherit udev eutils
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
HOMEPAGE="https://github.com/gentoo/hwids"
if [[ ${PV} == "99999999" ]]; then
+ inherit git-r3
EGIT_REPO_URI="${HOMEPAGE}.git"
- inherit git-2
else
SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
@@ -27,20 +27,23 @@ DEPEND="udev? (
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
-S=${WORKDIR}/hwids-${P}
+if [[ ${PV} != 99999999 ]]; then
+ S=${WORKDIR}/hwids-${P}
+fi
-src_prepare() {
- [[ ${PV} == "99999999" ]] && emake fetch
+src_unpack() {
+ if [[ ${PV} == 99999999 ]]; then
+ git-r3_src_unpack
+ cd "${S}" || die
+ emake fetch
+ else
+ default
+ fi
+}
+src_prepare() {
+ default
sed -i -e '/udevadm hwdb/d' Makefile || die
-
- # Create a rules file compatible with older udev.
- sed -e 's/evdev:name/keyboard:name/' \
- -e 's/evdev:atkbd:dmi/keyboard:dmi/' \
- -e 's/evdev:input:b\([^v]*\)v\([^p]*\)p\([^e]*\)\(e.*\)\?/keyboard:usb:v\2p\3/' \
- -e 's/keyboard:usb:v046DpC52D\*/keyboard:usb:v046DpC52Dd*dc*dsc*dp*ic*isc*ip*in00*/' \
- -e 's/keyboard:usb:v0458p0708\*/keyboard:usb:v0458p0708d*dc*dsc*dp*ic*isc*ip*in01*/' \
- udev/60-keyboard.hwdb > udev/61-oldkeyboard.hwdb || die
}
_emake() {
@@ -67,7 +70,5 @@ src_install() {
pkg_postinst() {
if use udev; then
udevadm hwdb --update --root="${ROOT%/}"
- # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
- [ "${ROOT:-/}" = "/" ] && udevadm control --reload
fi
}
next reply other threads:[~2016-11-04 1:48 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-04 1:48 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-25 3:22 [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwids/ Mike Gilbert
2021-10-03 11:28 David Seifert
2021-09-18 19:48 Sam James
2021-09-15 16:00 Mike Gilbert
2021-08-10 14:37 Mike Gilbert
2021-08-10 14:37 Mike Gilbert
2021-06-20 17:18 Mike Gilbert
2021-06-13 14:42 Mike Gilbert
2021-05-14 22:14 David Seifert
2021-02-07 18:09 Mike Gilbert
2021-02-07 18:09 Mike Gilbert
2020-12-07 17:42 Mike Gilbert
2020-12-07 17:31 Mike Gilbert
2020-08-14 19:24 Mike Gilbert
2020-08-14 19:16 Mike Gilbert
2020-08-13 2:56 Mike Gilbert
2020-08-13 2:56 Mike Gilbert
2020-08-13 2:56 Mike Gilbert
2020-03-06 19:40 Mike Gilbert
2020-03-06 19:39 Mike Gilbert
2020-02-04 18:52 Mike Gilbert
2019-11-26 11:46 Agostino Sarubbo
2019-11-26 10:18 Thomas Deutschmann
2019-09-13 17:58 Mikle Kolyada
2019-09-13 17:58 Mikle Kolyada
2019-09-13 17:58 Mikle Kolyada
2019-08-26 18:45 Sergei Trofimovich
2019-08-23 16:33 Agostino Sarubbo
2019-08-23 13:11 Agostino Sarubbo
2019-08-23 10:00 Agostino Sarubbo
2019-08-22 22:03 Agostino Sarubbo
2019-08-22 22:01 Agostino Sarubbo
2019-08-22 6:03 Sergei Trofimovich
2019-08-20 20:36 Aaron Bauman
2019-08-19 11:37 Agostino Sarubbo
2019-08-19 5:57 Agostino Sarubbo
2019-08-18 21:58 Mike Gilbert
2019-05-04 19:40 Andreas K. Hüttel
2019-04-17 12:21 Mikle Kolyada
2019-04-17 12:21 Mikle Kolyada
2019-04-17 12:21 Mikle Kolyada
2019-04-13 3:27 Aaron Bauman
2019-04-01 17:21 Thomas Deutschmann
2019-03-17 1:49 Mike Gilbert
2019-03-17 1:49 Mike Gilbert
2019-03-17 1:49 Mike Gilbert
2019-03-16 22:55 Sergei Trofimovich
2019-03-16 21:57 Sergei Trofimovich
2019-03-16 14:46 Mikle Kolyada
2019-03-15 23:17 Mikle Kolyada
2019-03-15 9:56 Mikle Kolyada
2019-03-14 21:53 Sergei Trofimovich
2019-03-14 8:31 Sergei Trofimovich
2019-03-11 19:58 Sergei Trofimovich
2018-09-17 15:01 Mike Gilbert
2018-06-26 11:21 Thomas Deutschmann
2018-05-14 22:02 Mikle Kolyada
2018-04-22 6:33 Matt Turner
2018-04-18 20:52 Mikle Kolyada
2018-03-17 23:02 Matt Turner
2018-03-17 23:02 Matt Turner
2018-03-15 19:09 Mike Gilbert
2018-03-15 1:50 Mart Raudsepp
2018-03-05 17:13 Tobias Klausmann
2018-02-25 18:21 Thomas Deutschmann
2018-02-23 10:15 Sergei Trofimovich
2018-02-22 9:49 Jason Zaman
2018-02-21 22:34 Sergei Trofimovich
2018-01-12 4:19 Mike Frysinger
2017-12-24 9:46 Mart Raudsepp
2017-10-05 22:02 Mike Gilbert
2017-10-03 21:55 Mike Gilbert
2017-07-15 15:20 Mike Gilbert
2017-07-15 15:20 Mike Gilbert
2017-05-05 19:11 Markus Meier
2017-04-30 9:37 Agostino Sarubbo
2017-04-29 15:02 Agostino Sarubbo
2017-04-27 11:23 Agostino Sarubbo
2017-04-25 7:21 Jeroen Roovers
2017-04-23 10:27 Agostino Sarubbo
2017-04-22 7:33 Tobias Klausmann
2017-03-28 21:04 Mike Gilbert
2016-08-19 10:07 Pacho Ramos
2016-08-07 9:30 Pacho Ramos
2016-08-01 5:29 Mike Frysinger
2016-08-01 5:29 Mike Frysinger
2016-08-01 5:29 Mike Frysinger
2016-04-21 22:40 Mike Gilbert
2016-03-06 15:04 Mike Gilbert
2016-03-06 15:01 Mike Gilbert
2016-01-14 2:29 Mike Frysinger
2016-01-11 9:56 Agostino Sarubbo
2016-01-10 11:22 Agostino Sarubbo
2016-01-09 7:00 Agostino Sarubbo
2016-01-07 20:12 Markus Meier
2015-12-26 12:03 Agostino Sarubbo
2015-12-19 6:18 Jeroen Roovers
2015-12-14 16:13 Agostino Sarubbo
2015-12-14 7:54 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478224093.2257d1f32b6301fd4f232e6c8e7667aa81169c24.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox