1 |
commit: dffa6b3a1727821ec1d76f51cd76fd57a9c02aa9 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 19:05:26 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 19:34:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dffa6b3a |
7 |
|
8 |
dev-python/six: remove old |
9 |
|
10 |
dev-python/six/Manifest | 1 - |
11 |
dev-python/six/six-1.9.0-r1.ebuild | 55 -------------------------------------- |
12 |
2 files changed, 56 deletions(-) |
13 |
|
14 |
diff --git a/dev-python/six/Manifest b/dev-python/six/Manifest |
15 |
index cc52084..810f4cc 100644 |
16 |
--- a/dev-python/six/Manifest |
17 |
+++ b/dev-python/six/Manifest |
18 |
@@ -1,2 +1 @@ |
19 |
DIST six-1.10.0.tar.gz 29630 SHA256 105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a SHA512 9a53b7bc8f7e8b358c930eaecf91cc5639176a699830153f586780c3e6d637f1bd31349a69c383574f99da19cb3a36524e7733a318f3572b27aefb69c6409c2e WHIRLPOOL aad2fc7438b0df029bf477a783161dc169795c355be1281f1fe7aa4eb959eae5abf3bc96d097a221e0e5ad0b0494c29025bbe99bc28ff0c29ae1776e8691a70a |
20 |
-DIST six-1.9.0.tar.gz 29127 SHA256 e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5 SHA512 bcd94367a26c326ff9cc884e67cd705077366b6c091ad4ec805791f0ddc05452fe046c0ad843fbd530fa956ef240b951e69a7fedd41f5e7aaaabdc4761e987ea WHIRLPOOL a71ed4a8c7688cf2fee668ea203e767a2ad073797d1a4c651704d3e6ee9070b32cf43b89bace98fd07781af98016bbe2d9ec1b2b7d67de02912cfa30be65052f |
21 |
|
22 |
diff --git a/dev-python/six/six-1.9.0-r1.ebuild b/dev-python/six/six-1.9.0-r1.ebuild |
23 |
deleted file mode 100644 |
24 |
index 274a6cb..00000000 |
25 |
--- a/dev-python/six/six-1.9.0-r1.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,55 +0,0 @@ |
28 |
-# Copyright 1999-2016 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Id$ |
31 |
- |
32 |
-EAPI=5 |
33 |
- |
34 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) |
35 |
- |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="Python 2 and 3 compatibility library" |
39 |
-HOMEPAGE="https://bitbucket.org/gutworth/six https://pypi.python.org/pypi/six" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="MIT" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
-IUSE="doc test" |
46 |
- |
47 |
-DEPEND=" |
48 |
- doc? ( dev-python/sphinx ) |
49 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
50 |
- |
51 |
-PATCHES=( |
52 |
- "${FILESDIR}"/1.10.0-no-setuptools.patch |
53 |
- "${FILESDIR}"/${PV}-mapping.patch |
54 |
- "${FILESDIR}"/${P}-winreg.patch |
55 |
-) |
56 |
- |
57 |
-python_compile_all() { |
58 |
- use doc && emake -C documentation html |
59 |
-} |
60 |
- |
61 |
-python_test() { |
62 |
- py.test -v || die "Testing failed with ${EPYTHON}" |
63 |
-} |
64 |
- |
65 |
-python_install_all() { |
66 |
- use doc && local HTML_DOCS=( documentation/_build/html/ ) |
67 |
- distutils-r1_python_install_all |
68 |
-} |
69 |
- |
70 |
-pkg_preinst() { |
71 |
- # Remove this in the next version bump |
72 |
- _cleanup() { |
73 |
- local pyver=$("${PYTHON}" -c "from distutils.sysconfig import get_python_version; print(get_python_version())") |
74 |
- local egginfo="${ROOT%/}$(python_get_sitedir)/${P}-py${pyver}.egg-info" |
75 |
- if [[ -d ${egginfo} ]]; then |
76 |
- echo rm -r "${egginfo}" |
77 |
- rm -r "${egginfo}" || die "Failed to remove egg-info directory" |
78 |
- fi |
79 |
- } |
80 |
- cd / # Bug 585146 |
81 |
- python_foreach_impl _cleanup |
82 |
-} |