commit:     6a18f4bf82d69546a4242768aafb61bbc8392a2a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 22:24:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 22:24:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a18f4bf

dev-util/distro-info: treeclean

Bug: https://bugs.gentoo.org/845936
Bug: https://bugs.gentoo.org/786585
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/distro-info/Manifest               |  1 -
 dev-util/distro-info/distro-info-1.0.ebuild | 95 -----------------------------
 dev-util/distro-info/metadata.xml           |  5 --
 profiles/package.mask                       |  1 -
 4 files changed, 102 deletions(-)

diff --git a/dev-util/distro-info/Manifest b/dev-util/distro-info/Manifest
deleted file mode 100644
index e5fcd4eef0da..000000000000
--- a/dev-util/distro-info/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST distro-info_1.0.tar.xz 30908 BLAKE2B 
8355e54919d83d09d3eb7983a35151f0e4253c62eefeccf4d1e614cef0bb7cecf466007c7789749c145674aa30324423f9977a26695d5de537f80d5eb069f371
 SHA512 
2d84b5845ff4e7ce8059fe83e9d64a380d6732e0e85bc889c948068579d27a86fd31f8e6b7d8cc256f4ff4631cd0ffd480835bf290452d3bc28469f5b3be9ddb

diff --git a/dev-util/distro-info/distro-info-1.0.ebuild 
b/dev-util/distro-info/distro-info-1.0.ebuild
deleted file mode 100644
index 6c2ccc45598a..000000000000
--- a/dev-util/distro-info/distro-info-1.0.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-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 ~riscv x86"
-IUSE="python test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-COMMON_DEPEND="dev-lang/perl:=
-       python? ( ${PYTHON_DEPS} )"
-DEPEND="${COMMON_DEPEND}
-       python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
-       test? (
-               dev-util/distro-info-data
-               dev-util/shunit2
-               dev-python/pylint[${PYTHON_USEDEP}]
-       )"
-RDEPEND="${COMMON_DEPEND}
-       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";' || die) \
-               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
-}

diff --git a/dev-util/distro-info/metadata.xml 
b/dev-util/distro-info/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..000000000000
--- a/dev-util/distro-info/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 1cc368e244cf..f132973fab41 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -250,7 +250,6 @@ dev-python/chai
 # Bugs #818847, #845936, #786585.
 # Removal on 2022-06-30.
 dev-util/dput-ng
-dev-util/distro-info
 
 # Matt Turner <[email protected]> (2022-05-30)
 # libwacom-2 broke ABI compatibility; reverse dependencies need to be updated.

Reply via email to