1 |
commit: 3c53243e93a33d110212ede0d4271b2341071403 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 22 10:36:16 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 22 10:36:25 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c53243e |
7 |
|
8 |
dev-python/packaging: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/packaging/Manifest | 1 + |
14 |
dev-python/packaging/packaging-16.3.ebuild | 47 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest |
18 |
index 4ae1227..370cd31 100644 |
19 |
--- a/dev-python/packaging/Manifest |
20 |
+++ b/dev-python/packaging/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST packaging-15.3.tar.gz 34359 SHA256 1e9a6b9ad621bc1dbd3aa8dfff52abc4b44f5c14 |
22 |
DIST packaging-16.0.tar.gz 40167 SHA256 a32895134cd7b86ee8add60a3be5bfd7ef3f30e73e5b54221dbe67d0e0690689 SHA512 7672f0a51f73543e39ad80b021d288c0e235c2ace9add5022a1d494b2711ce55ba7d05d92245cbb96fa354d67fdfbdbdd2e1858ace3d6d2761869bc5ddaaeddd WHIRLPOOL be813ffbcc614e5be3bc9bb1e704e9c65c194b47172bb0c9bf0113ea8456256fa8263faec33b3e001b6d71ed7fd8763796afd6eeb608f3a65ea987db48304d5a |
23 |
DIST packaging-16.1.tar.gz 42929 SHA256 7792caf5bfda630c96310a84ecba5d61b17a843ab72194bb5606d81e4f44094f SHA512 f4e081be85247c989343e7532d5e4afcad68af960264b59271862799e8d63ed0b7fb733670f7446da69aa60f013fc886c8c31c6010c1157110c1a417209d9325 WHIRLPOOL 8c13ef4196633cc4c7c59aef2fa8980abc46908fd30ffbe79d565dcd6089bc1496a8b5dc6aa5968273281e8ef494ef54036c72192f36dfe30dbb0f3fcf8544c9 |
24 |
DIST packaging-16.2.tar.gz 43398 SHA256 0eb4a6329c6d40a0deef725b4f510b6219ec8c365f888583babbb4454d761dd6 SHA512 2310efbd4d73498d5645d0c3a2f0cb162cd18cff28079ba2ac44b784e728363d84a8eae4d9e313c4491394841638ef01ef37ef7da3bac01e27af37a72e387dd1 WHIRLPOOL 5aff538bf5ee18474074048bb581140200c078ceb6366f5c709be931851b0835a8a725ecc17a1b2c34bae34cf79d8743a4422c6701e5c6e9ba99bfdc51aa439f |
25 |
+DIST packaging-16.3.tar.gz 43580 SHA256 46e5808cdfd3766d41d3691d413ca3515bd060f16fca5aab080d5a6a204ec33c SHA512 54f8a4c6f27c0e31c40d4fa2109b14228d2434442407291363781979aa99c5bb02e6c8040f529d8efdc4a3f001e1028754c09eba11217e9374b8456f0e735413 WHIRLPOOL 3b785d1f71e4bda45b809dcb82b393ba18c2b0111c75671e8376e58884d4412ab8eeba5c480085decb27fe171b2e99d9763db7b5698bbb2922bac97c34a35e6c |
26 |
|
27 |
diff --git a/dev-python/packaging/packaging-16.3.ebuild b/dev-python/packaging/packaging-16.3.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..26279ce |
30 |
--- /dev/null |
31 |
+++ b/dev-python/packaging/packaging-16.3.ebuild |
32 |
@@ -0,0 +1,47 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Core utilities for Python packages" |
44 |
+HOMEPAGE="https://github.com/pypa/packaging https://pypi.python.org/pypi/packaging" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+SLOT="0" |
48 |
+LICENSE="|| ( Apache-2.0 BSD-2 )" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="test" |
51 |
+ |
52 |
+RDEPEND="" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ test? ( |
55 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+PDEPEND=" |
60 |
+ dev-python/pyparsing[${PYTHON_USEDEP}] |
61 |
+ dev-python/six[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+ |
64 |
+python_test() { |
65 |
+ py.test --capture=no --strict -v || die |
66 |
+} |
67 |
+ |
68 |
+pkg_preinst() { |
69 |
+ # Remove this in the next version bump |
70 |
+ _cleanup() { |
71 |
+ local pyver=$("${PYTHON}" -c "from distutils.sysconfig import get_python_version; print(get_python_version())") |
72 |
+ local egginfo="${ROOT%/}$(python_get_sitedir)/${P}-py${pyver}.egg-info" |
73 |
+ if [[ -d ${egginfo} ]]; then |
74 |
+ echo rm -r "${egginfo}" |
75 |
+ rm -r "${egginfo}" || die "Failed to remove egg-info directory" |
76 |
+ fi |
77 |
+ } |
78 |
+ python_foreach_impl _cleanup |
79 |
+} |