From 821aa3a24c600f0d68734aa238ec1fd9e600df54 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 18 Mar 2020 19:20:10 +0100 Subject: dev-util/distro-info: Drop old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-util/distro-info/Manifest | 1 - dev-util/distro-info/distro-info-0.14.ebuild | 94 ---------------------------- 2 files changed, 95 deletions(-) delete mode 100644 dev-util/distro-info/distro-info-0.14.ebuild diff --git a/dev-util/distro-info/Manifest b/dev-util/distro-info/Manifest index 6fa30436ffd3..e289b24a1b05 100644 --- a/dev-util/distro-info/Manifest +++ b/dev-util/distro-info/Manifest @@ -1,2 +1 @@ -DIST distro-info_0.14.tar.xz 26460 BLAKE2B eb34e31514f7acfd283ae9405132884ccae31b77d6cf7af3a8a341ac349d589cbd5d7828e763911fc490d6504edae4c90551b3d3cc3518eec1f47ab1dcc6ac60 SHA512 aa0055f21523e30fc7e9c94c92f87cbd05fc5d082ddc109d092e94dabafac7533ced984197797252eb698232b3d8f512b3c345ed6abef0ae074bf2770224955e DIST distro-info_0.22.tar.xz 29104 BLAKE2B 88eab833ea34de9e62f858e1fb9acfb94efb60114d2213b8bbb77a440c114dbac70a1707d1469113c1a98ea94d953ffa36480c132c294fd8e22b816a444b25e1 SHA512 b9d97e469b9173651c1816f39cc2315622b46f1579cbaba29c417a51417425e90a45283e83c7efee35db78621df08997f5395c8c1b0259f69e5cd91dee65793f diff --git a/dev-util/distro-info/distro-info-0.14.ebuild b/dev-util/distro-info/distro-info-0.14.ebuild deleted file mode 100644 index 11fae490576c..000000000000 --- a/dev-util/distro-info/distro-info-0.14.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_6 ) -DISTUTILS_OPTIONAL=true - -inherit distutils-r1 - -DESCRIPTION="Provides information about the Debian distributions' releases" -HOMEPAGE="https://debian.org" -SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CDEPEND="dev-lang/perl:= - python? ( ${PYTHON_DEPS} )" -DEPEND="${CDEPEND} - python? ( dev-python/setuptools[${PYTHON_USEDEP}] ) - test? ( - dev-util/shunit2 - dev-python/pylint[${PYTHON_USEDEP}] - )" -RDEPEND="${CDEPEND} - dev-util/distro-info-data" - -src_prepare() { - default - - # 1. Gentoo do not provides dpkg vendor information - # 2. Strip *FLAGS - # 3. Strip predefined CFLAGS - # 4. Point to correct perl's vendorlib - # 5. Remove python tests - python eclass will be used instead - sed -e "/cd python && python/d" \ - -e "/VENDOR/d" \ - -e "/dpkg-buildflags/d" \ - -e "s/-g -O2//g" \ - -e "s:\$(PREFIX)/share/perl5/Debian:\$(PERL_VENDORLIB)/Debian:g" \ - -e "/pyversions/d" \ - -i "${S}"/Makefile || die -} - -src_configure() { - default - - if use python; then - pushd ./python > /dev/null || die - distutils-r1_src_configure - popd > /dev/null || die - fi -} - -src_compile() { - default - - if use python; then - pushd ./python > /dev/null || die - distutils-r1_src_compile - popd > /dev/null || die - fi -} - -src_install() { - emake PERL_VENDORLIB=$(perl -e 'require Config; print "$Config::Config{'vendorlib'}\n";') \ - DESTDIR="${D}" install - - if use python; then - pushd ./python > /dev/null || die - distutils-r1_src_install - popd > /dev/null || die - fi -} - -src_test() { - TZ=UTC default - - if use python; then - python_test() { - esetup.py test - } - - pushd ./python > /dev/null || die - distutils-r1_src_test - popd > /dev/null || die - fi -} -- cgit v1.2.3-65-gdbad