From 353f70c429d77f77c6269d996680d04bf087d3c4 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 12 Jul 2020 18:41:06 +0200 Subject: dev-python/appdirs: Remove redundant versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/appdirs/Manifest | 1 - dev-python/appdirs/appdirs-1.4.3-r1.ebuild | 37 ---------------------- .../appdirs/files/appdirs-1.4.3-distutils.patch | 25 --------------- 3 files changed, 63 deletions(-) delete mode 100644 dev-python/appdirs/appdirs-1.4.3-r1.ebuild delete mode 100644 dev-python/appdirs/files/appdirs-1.4.3-distutils.patch (limited to 'dev-python/appdirs') diff --git a/dev-python/appdirs/Manifest b/dev-python/appdirs/Manifest index a48eab520dc9..97a4d25f7608 100644 --- a/dev-python/appdirs/Manifest +++ b/dev-python/appdirs/Manifest @@ -1,2 +1 @@ -DIST appdirs-1.4.3.tar.gz 9641 BLAKE2B edd7f6372e25279f6ba0f36cda595649cab7e69430e22bfdfd1bb5aa8d566a4a2fbf24c281adf80ab3eafea93f0f4f79b396688134395c3e5565476f24db75df SHA512 787f551ef5af355bbc77ffb3059553fab77614cce466b4145e4b55fecb8553d329f8748865fd69005d13451a9b11229a65721095a122db83a8433a2661503dfc DIST appdirs-1.4.4.tar.gz 9840 BLAKE2B cb9466f4a7f7c1d6f5b6d7ca031820ec4d3450afcaa8ba571e35387c3109ede4e2afbf2c1141a9d01d13798f55524d5efd3fa12546a9378abbda405353938d79 SHA512 4c0e1e8dcd3f91b8b2d215b3f1e2ffaa85137fe054d07d3a2d442b1419e3b44e96fdea1620bd000bd3f4744f71b71f07280094f073df0ff008fac902af614656 diff --git a/dev-python/appdirs/appdirs-1.4.3-r1.ebuild b/dev-python/appdirs/appdirs-1.4.3-r1.ebuild deleted file mode 100644 index fd8ec908ad0d..000000000000 --- a/dev-python/appdirs/appdirs-1.4.3-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# note the patch below -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Module for determining appropriate platform-specific dirs" -HOMEPAGE="https://github.com/ActiveState/appdirs" -SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -PATCHES=( "${FILESDIR}"/${PN}-1.4.3-distutils.patch ) - -python_test() { - "${PYTHON}" test/test_api.py -v || die "Tests fail with ${EPYTHON}" -} - -[[ ${PV} == 1.4.3 ]] || die "Please remove pkg_preinst from the ebuild" -pkg_preinst() { - _remove_egg_info() { - local pyver="$("${PYTHON}" -c 'import sys; print(sys.version[:3])')" - local egginfo="${ROOT}$(python_get_sitedir)/${P}-py${pyver}.egg-info" - if [[ -d ${egginfo} ]]; then - einfo "Removing ${egginfo}" - rm -r "${egginfo}" || die - fi - } - python_foreach_impl _remove_egg_info -} diff --git a/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch b/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch deleted file mode 100644 index e5245f255fef..000000000000 --- a/dev-python/appdirs/files/appdirs-1.4.3-distutils.patch +++ /dev/null @@ -1,25 +0,0 @@ -Force setup.py to use distutils in order to break setuptools cyclic dependency. - ---- a/setup.py -+++ b/setup.py -@@ -3,10 +3,7 @@ - import os - import os.path - # appdirs is a dependency of setuptools, so allow installing without it. --try: -- from setuptools import setup --except ImportError: -- from distutils.core import setup -+from distutils.core import setup - import appdirs - - tests_require = [] -@@ -45,8 +42,6 @@ - Programming Language :: Python :: Implementation :: CPython - Topic :: Software Development :: Libraries :: Python Modules - """.split('\n') if c.strip()], -- test_suite='test.test_api', -- tests_require=tests_require, - keywords='application directory log cache user', - author='Trent Mick', - author_email='trentm@gmail.com', -- cgit v1.2.3-65-gdbad