diff options
author | 2017-10-03 17:53:36 -0400 | |
---|---|---|
committer | 2017-10-03 17:55:04 -0400 | |
commit | 68db88d36f97e6e29a1f49d093a1843c642d0c48 (patch) | |
tree | a6e20232ba73fcf47f3b191b2ccf2f0aa1e142ce /sys-apps/hwids/hwids-99999999.ebuild | |
parent | app-misc/pdfpc: version bump to 4.0.8. (diff) | |
download | gentoo-68db88d36f97e6e29a1f49d093a1843c642d0c48.tar.gz gentoo-68db88d36f97e6e29a1f49d093a1843c642d0c48.tar.bz2 gentoo-68db88d36f97e6e29a1f49d093a1843c642d0c48.zip |
sys-apps/hwids: bump to 20171003
Package-Manager: Portage-2.3.10_p4, Repoman-2.3.3_p52
Diffstat (limited to 'sys-apps/hwids/hwids-99999999.ebuild')
-rw-r--r-- | sys-apps/hwids/hwids-99999999.ebuild | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/sys-apps/hwids/hwids-99999999.ebuild b/sys-apps/hwids/hwids-99999999.ebuild index 13f25bb11b32..3f04c8534c6c 100644 --- a/sys-apps/hwids/hwids-99999999.ebuild +++ b/sys-apps/hwids/hwids-99999999.ebuild @@ -8,7 +8,8 @@ inherit udev DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases" HOMEPAGE="https://github.com/gentoo/hwids" if [[ ${PV} == "99999999" ]]; then - inherit git-r3 + PYTHON_COMPAT=( python3_6 ) + inherit git-r3 python-any-r1 EGIT_REPO_URI="${HOMEPAGE}.git" else SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" @@ -19,18 +20,31 @@ LICENSE="|| ( GPL-2 BSD ) public-domain" SLOT="0" IUSE="+net +pci +udev +usb" -DEPEND="udev? ( - dev-lang/perl - >=virtual/udev-206 -)" -[[ ${PV} == "99999999" ]] && DEPEND+=" udev? ( net-misc/curl )" -RDEPEND="!<sys-apps/pciutils-3.1.9-r2 - !<sys-apps/usbutils-005-r1" +DEPEND="" +RDEPEND=" + udev? ( virtual/udev ) + !<sys-apps/pciutils-3.1.9-r2 + !<sys-apps/usbutils-005-r1 +" -if [[ ${PV} != 99999999 ]]; then +if [[ ${PV} == 99999999 ]]; then + DEPEND+=" + net-misc/curl + udev? ( $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') ) + " + python_check_deps() { + if use udev; then + has_version --host-root "dev-python/pyparsing[${PYTHON_USEDEP}]" + fi + } +else S=${WORKDIR}/hwids-${P} fi +pkg_setup() { + : +} + src_unpack() { if [[ ${PV} == 99999999 ]]; then git-r3_src_unpack @@ -56,6 +70,7 @@ _emake() { } src_compile() { + [[ ${PV} == 99999999 ]] && use udev && python_setup _emake } |