Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/appdirs/, dev-python/appdirs/files/
Date: Wed, 03 May 2017 12:18:46
Message-Id: 1493813900.1e01394c7413c6fc07ac07930bbba488905ed0c1.mgorny@gentoo
1 commit: 1e01394c7413c6fc07ac07930bbba488905ed0c1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 12:06:57 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 12:18:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e01394c
7
8 dev-python/appdirs: Clean old versions up
9
10 dev-python/appdirs/Manifest | 1 -
11 dev-python/appdirs/appdirs-1.4.0-r1.ebuild | 42 ----------------------
12 dev-python/appdirs/appdirs-1.4.1.ebuild | 23 ------------
13 .../appdirs/files/appdirs-1.4.0-distutils.patch | 22 ------------
14 4 files changed, 88 deletions(-)
15
16 diff --git a/dev-python/appdirs/Manifest b/dev-python/appdirs/Manifest
17 index 6d9c53feb68..1675f4e5b51 100644
18 --- a/dev-python/appdirs/Manifest
19 +++ b/dev-python/appdirs/Manifest
20 @@ -1,3 +1,2 @@
21 DIST appdirs-1.4.0.tar.gz 14358 SHA256 8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5 SHA512 a16fbad419e593acf1b58a3f8f893d206b3fc1a269757213a34d129e6fc39aa041efacb7964d326b82376373315357c93e85b272f374a096d9a63e73e3ce1dac WHIRLPOOL 0e12bf1875e489fbfb2ed48b125917bb6e176b90051a0afe2b64f431bbd1f5be499b7c0631302513387c440a05b2eb067fefaf54141424c260834cba854b7e6f
22 -DIST appdirs-1.4.1.tar.gz 9486 SHA256 b45f2af7f028906134ad368d401bf51952554bcfa389e3c4feee50739dbc1642 SHA512 e228c2e6b7e09ec82997a7b2bf53137ac32d4dc9d085950b84fa03dbcf29b2ddb175fcb93fde7e65629dccd1f1d74c0e77d4b435563a79a7aa5f15ebb276c3bf WHIRLPOOL 38c092b5dbbcc999631ba88107a3321f4a6220c5890c6f8b9e491d8680eb3bc6492f3423133dedcde41990935901ae79edcaad2666207a6560a788a0518e6eaf
23 DIST appdirs-1.4.3.tar.gz 9641 SHA256 5ce44e43c3fd537ce1aaf72141c525aa67032a5af0a14dcf755621e69d72414b SHA512 787f551ef5af355bbc77ffb3059553fab77614cce466b4145e4b55fecb8553d329f8748865fd69005d13451a9b11229a65721095a122db83a8433a2661503dfc WHIRLPOOL 4e88de235789556a220134c9b6cc1741d6fb65070c62e278c94585e3adc464562e3dc259340a8147b33de417e9533b7bc40cc66eb558d04ec3b197f5a092980e
24
25 diff --git a/dev-python/appdirs/appdirs-1.4.0-r1.ebuild b/dev-python/appdirs/appdirs-1.4.0-r1.ebuild
26 deleted file mode 100644
27 index d89a5a0e16b..00000000000
28 --- a/dev-python/appdirs/appdirs-1.4.0-r1.ebuild
29 +++ /dev/null
30 @@ -1,42 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Module for determining appropriate platform-specific dirs"
41 -HOMEPAGE="https://github.com/ActiveState/appdirs"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0"
46 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 -IUSE=""
48 -
49 -# api.doctests is missing in the dist zipfile
50 -# and the 'internal' doctest does nothing
51 -RESTRICT=test
52 -
53 -PATCHES=( "${FILESDIR}"/${P}-distutils.patch )
54 -
55 -python_test() {
56 - cd test || die
57 - "${PYTHON}" test.py \
58 - || die "Tests fail with ${EPYTHON}"
59 -}
60 -
61 -[[ ${PV} == 1.4.0 ]] || die "Please remove pkg_preinst from the ebuild"
62 -pkg_preinst() {
63 - _remove_egg_info() {
64 - local pyver="$("${PYTHON}" -c 'import sys; print(sys.version[:3])')"
65 - local egginfo="${ROOT%/}$(python_get_sitedir)/${P}-py${pyver}.egg-info"
66 - if [[ -d ${egginfo} ]]; then
67 - einfo "Removing ${egginfo}"
68 - rm -r "${egginfo}" || die
69 - fi
70 - }
71 - python_foreach_impl _remove_egg_info
72 -}
73
74 diff --git a/dev-python/appdirs/appdirs-1.4.1.ebuild b/dev-python/appdirs/appdirs-1.4.1.ebuild
75 deleted file mode 100644
76 index edebaddf6ff..00000000000
77 --- a/dev-python/appdirs/appdirs-1.4.1.ebuild
78 +++ /dev/null
79 @@ -1,23 +0,0 @@
80 -# Copyright 1999-2017 Gentoo Foundation
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI=6
84 -
85 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
86 -
87 -inherit distutils-r1
88 -
89 -DESCRIPTION="Module for determining appropriate platform-specific dirs"
90 -HOMEPAGE="https://github.com/ActiveState/appdirs"
91 -SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
92 -
93 -LICENSE="MIT"
94 -SLOT="0"
95 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
96 -IUSE=""
97 -
98 -PATCHES=( "${FILESDIR}"/${PN}-1.4.0-distutils.patch )
99 -
100 -python_test() {
101 - "${PYTHON}" test/test_api.py || die "Tests fail with ${EPYTHON}"
102 -}
103
104 diff --git a/dev-python/appdirs/files/appdirs-1.4.0-distutils.patch b/dev-python/appdirs/files/appdirs-1.4.0-distutils.patch
105 deleted file mode 100644
106 index eb0cf821754..00000000000
107 --- a/dev-python/appdirs/files/appdirs-1.4.0-distutils.patch
108 +++ /dev/null
109 @@ -1,22 +0,0 @@
110 -Force setup.py to use distutils in order to break setuptools cyclic dependency.
111 -
112 ---- appdirs-1.4.0/setup.py
113 -+++ appdirs-1.4.0/setup.py
114 -@@ -2,7 +2,7 @@
115 - import sys
116 - import os
117 - import os.path
118 --from setuptools import setup
119 -+from distutils.core import setup
120 - import appdirs
121 -
122 - tests_require = []
123 -@@ -38,8 +38,6 @@
124 - Programming Language :: Python :: 3.2
125 - Topic :: Software Development :: Libraries :: Python Modules
126 - """.split('\n') if c.strip()],
127 -- test_suite='test.test_api',
128 -- tests_require=tests_require,
129 - keywords='application directory log cache user',
130 - author='Trent Mick',
131 - author_email='trentm@×××××.com',