From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/hwdata-redhat/Manifest | 6 ++++ .../files/hwdata-redhat-0.217-python-3.patch | 13 ++++++++ sys-apps/hwdata-redhat/hwdata-redhat-0.217.ebuild | 38 ++++++++++++++++++++++ sys-apps/hwdata-redhat/metadata.xml | 5 +++ 4 files changed, 62 insertions(+) create mode 100644 sys-apps/hwdata-redhat/Manifest create mode 100644 sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch create mode 100644 sys-apps/hwdata-redhat/hwdata-redhat-0.217.ebuild create mode 100644 sys-apps/hwdata-redhat/metadata.xml (limited to 'sys-apps/hwdata-redhat') diff --git a/sys-apps/hwdata-redhat/Manifest b/sys-apps/hwdata-redhat/Manifest new file mode 100644 index 000000000000..d1fd3d6a5289 --- /dev/null +++ b/sys-apps/hwdata-redhat/Manifest @@ -0,0 +1,6 @@ +AUX hwdata-redhat-0.217-python-3.patch 227 SHA256 84ccc9f1f8e5dfe4c4f6035d427c9987b247305e27006b6230a821b1fe45bfb6 SHA512 eed127d4d5b4b33c8f7e1bf25c7a7d5a09c1ccea37d7fd8f0c1139dc000b6879763edd78cb26fe978100d24f3092b2474a6e20535e8aa0363da435e775ef579c WHIRLPOOL 9dbb9114c1e068f2c797cb0d882c88bd75254584acd764721b8f5daeb0cb3937d79ac43bd71eed7d289893564c1c610977198f28f3a918b26de14366bba1d575 +DIST hwdata-0.217-1.fc9.src.rpm 735079 SHA256 f2b6f3223cb388b9ff261ca84ed93b9e5eba95be62b7377ff685708351d377ad SHA512 31f057d62283adb926b3e89f4128e256a111d92e6bf0a63adea752d94be2b2e86ffa7535ba6d77a84373dc1ddbc5feb53e337520a8eb6063937e573cccef2634 WHIRLPOOL 982ca394d3875794bc5bc7fcf23b32c21c686287ad9be104c9bf25043d2266d9a74d21d6fa61e2255187ec768d2ffb9d2731b5c859e629ba2f0955a1a4afaa3a +EBUILD hwdata-redhat-0.217.ebuild 1054 SHA256 591f52ffcfda1faedbd03cdd6b7483ec83a1f08e15923d2b9eff72ca910c1190 SHA512 f0280270f749136d151b712cd59ee5986f116817d17a0f516ba49370ac4cc08c5898bd235adb93acb0251161c51e4f750f74faace14505aad2bec198ba9c2e3f WHIRLPOOL ef99b8935744323f98e3e037ec00f57c9f81d4c60c3b8505117b2e0c85eb9e2eadeb0b6da063df7aedc7d80853b54b14446c5c7494f4b20aefdedd0a7a3206a2 +MISC ChangeLog 2753 SHA256 395403e0da5663d9a247abb395453e47580a296e95f5e95c101186133f3ee1db SHA512 78392229144281ebbd9ccdb583167006ffd66832b4da333ac3a4030a6ae0010dc9de1dbf90af0263f789dc7617391570bfbd7514e360b8a4aec0fde1b95d059a WHIRLPOOL 3f0420485a3f87246587148d42ed9ac547e7813bfde0fc3b57c0c974b668fbffc75b3b3932a5e8c51c0ea56c29fefa01bdc4ffa3e2ba5019d341af099f3b120f +MISC ChangeLog-2015 1579 SHA256 0bff2b36fd963d652f0a42f08725fa5961b3e59d097af59a5cd417ad7f8c3f0f SHA512 85ef1ceb92bba1323da90a4c38864e54470496aad4a74ddc1151cd98a896302a7a735d33268519d89efa383dfd78eb7eb2466e200c84c2bd987c3f65a53ed88c WHIRLPOOL f54c24a53c0d9d3b88913928483faba3b42cb7d294604ef5a88f5a0c5e124003e7a010c63ed78ebf3d1c545aeaa6e9b677a793e1e0ef2382a5e704625a1b0b30 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch b/sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch new file mode 100644 index 000000000000..f16fddd992c4 --- /dev/null +++ b/sys-apps/hwdata-redhat/files/hwdata-redhat-0.217-python-3.patch @@ -0,0 +1,13 @@ +--- check-pci-ids.py ++++ check-pci-ids.py +@@ -5,8 +5,8 @@ + + # Check that the sorting order is preserved in pci.ids + +-vendor_id = None +-device_id = None ++vendor_id = -1 ++device_id = -1 + lineno = 1 + + file = open("pci.ids") diff --git a/sys-apps/hwdata-redhat/hwdata-redhat-0.217.ebuild b/sys-apps/hwdata-redhat/hwdata-redhat-0.217.ebuild new file mode 100644 index 000000000000..399b71c320a6 --- /dev/null +++ b/sys-apps/hwdata-redhat/hwdata-redhat-0.217.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils flag-o-matic rpm + +# Tag for which Fedora Core version it's from +FCVER="9" +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +MY_P="${P/-redhat}" +DESCRIPTION="Hardware identification and configuration data" +HOMEPAGE="https://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora-dev/releases/9/Everything/source/SRPMS/${MY_P}-${RPMREV}.fc${FCVER}.src.rpm" +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~ppc ~ppc64 ~x86 ~amd64" +IUSE="test" +RDEPEND="virtual/modutils + !sys-apps/hwdata-gentoo" +DEPEND="${RDEPEND} + test? ( sys-apps/pciutils )" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + rpm_src_unpack ${A} + + cd "${S}" + sed -i -e "s:\(/sbin\/lspci\):/usr\1:g" Makefile || die + epatch "${FILESDIR}/${P}-python-3.patch" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + # Don't let it overwrite a udev-installed file + rm -rf "${D}"/etc/ || die +} diff --git a/sys-apps/hwdata-redhat/metadata.xml b/sys-apps/hwdata-redhat/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/sys-apps/hwdata-redhat/metadata.xml @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.3