From a7c2b86c456d2bdc8f0b965c83fa5c7d157c864e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 21 Feb 2020 20:21:31 +0100 Subject: [PATCH] dev-python/celementtree: Remove last-rited package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/celementtree/Manifest | 1 - .../celementtree/celementtree-1.0.5-r2.ebuild | 44 ------------------- .../files/celementtree-1.0.5-setuptools.patch | 12 ----- .../celementtree-1.0.5-use_system_expat.patch | 44 ------------------- dev-python/celementtree/metadata.xml | 8 ---- profiles/package.mask | 1 - 6 files changed, 110 deletions(-) delete mode 100644 dev-python/celementtree/Manifest delete mode 100644 dev-python/celementtree/celementtree-1.0.5-r2.ebuild delete mode 100644 dev-python/celementtree/files/celementtree-1.0.5-setuptools.patch delete mode 100644 dev-python/celementtree/files/celementtree-1.0.5-use_system_expat.patch delete mode 100644 dev-python/celementtree/metadata.xml diff --git a/dev-python/celementtree/Manifest b/dev-python/celementtree/Manifest deleted file mode 100644 index af7121e33fb0..000000000000 --- a/dev-python/celementtree/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cElementTree-1.0.5-20051216.tar.gz 93766 BLAKE2B b3d70fdec8361b003915215e0007460bcc5947f96c293941849ff0c000eb689dc33f0d32a5f473370341f0e0749183717a326e79ae23a7e4c15f4e4ec9970366 SHA512 2cb99e4980580f186eb9b8740bc5a3e6e85e714a5d1f613850a8f12f7dbc125c8aa7770f7fe70480fb96999212c11181ab681822c74429882c1dfe91c20e2af9 diff --git a/dev-python/celementtree/celementtree-1.0.5-r2.ebuild b/dev-python/celementtree/celementtree-1.0.5-r2.ebuild deleted file mode 100644 index 3821f5e3d91c..000000000000 --- a/dev-python/celementtree/celementtree-1.0.5-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_P="cElementTree-${PV}-20051216" - -DESCRIPTION="The cElementTree module is a C implementation of the ElementTree API" -HOMEPAGE="http://effbot.org/zone/celementtree.htm https://pypi.org/project/cElementTree/" -SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz" - -LICENSE="ElementTree" -SLOT="0" -KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris" -IUSE="examples" - -RDEPEND=">=dev-python/elementtree-1.2[${PYTHON_USEDEP}] - >=dev-libs/expat-1.95.8" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/${P}-use_system_expat.patch" - "${FILESDIR}/${P}-setuptools.patch" - ) - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use examples && local EXAMPLES=( samples/. selftest.py ) - - distutils-r1_python_install_all -} diff --git a/dev-python/celementtree/files/celementtree-1.0.5-setuptools.patch b/dev-python/celementtree/files/celementtree-1.0.5-setuptools.patch deleted file mode 100644 index d70dfab1a519..000000000000 --- a/dev-python/celementtree/files/celementtree-1.0.5-setuptools.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- setup.py.orig 2007-07-04 23:05:19.000000000 -0700 -+++ setup.py 2007-07-04 23:05:58.000000000 -0700 -@@ -6,7 +6,8 @@ - # Usage: python setup.py install - # - --from distutils.core import setup, Extension -+from setuptools import setup -+from distutils.core import Extension - from distutils import sysconfig - import sys, os - diff --git a/dev-python/celementtree/files/celementtree-1.0.5-use_system_expat.patch b/dev-python/celementtree/files/celementtree-1.0.5-use_system_expat.patch deleted file mode 100644 index fb90e59a4492..000000000000 --- a/dev-python/celementtree/files/celementtree-1.0.5-use_system_expat.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -u a/selftest.py b/selftest.py ---- a/selftest.py 2005-12-16 23:57:47.000000000 +0200 -+++ b/selftest.py 2007-07-03 08:07:45.000000000 +0300 -@@ -176,8 +176,6 @@ - - - >>> parser = ElementTree.XMLParser() -- >>> parser.version -- 'Expat 1.95.8' - >>> parser.feed(open("samples/simple.xml").read()) - >>> print serialize(parser.close()) - -diff -u a/setup.py b/setup.py ---- a/setup.py 2005-12-16 23:57:47.000000000 +0200 -+++ b/setup.py 2007-07-03 08:00:57.000000000 +0300 -@@ -23,16 +23,6 @@ - # -------------------------------------------------------------------- - # expat library - --sources = [ -- "expat/xmlparse.c", -- "expat/xmlrole.c", -- "expat/xmltok.c", -- ] -- --includes = [ -- "expat", -- ] -- - defines = [ - ("XML_STATIC", None), - ] -@@ -63,9 +53,9 @@ - - ext_modules.append( - Extension( -- "cElementTree", ["cElementTree.c"] + sources, -+ "cElementTree", ["cElementTree.c"], - define_macros=defines, -- include_dirs=includes, -+ libraries=['expat'], - ) - ) - diff --git a/dev-python/celementtree/metadata.xml b/dev-python/celementtree/metadata.xml deleted file mode 100644 index 7f4f33c6dbc9..000000000000 --- a/dev-python/celementtree/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - python@gentoo.org - Python - - diff --git a/profiles/package.mask b/profiles/package.mask index 66e570e1c1f7..5d224921d46f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -643,7 +643,6 @@ net-im/silc-toolkit # The following Gentoo packages are Python 2-only and have no reverse # dependencies. # Removal in 30 days. Bug #705762. -dev-python/celementtree dev-python/collectd-rabbitmq dev-python/cosmolopy dev-python/django-annoying -- 2.26.2