1 |
commit: ea5af051397c7bdc91e5350a52204ccb188be3e8 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 09:23:38 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 09:23:38 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5af051 |
7 |
|
8 |
dev-python/lockfile: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/lockfile/Manifest | 1 + |
14 |
dev-python/lockfile/lockfile-0.12.2.ebuild | 44 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/lockfile/Manifest b/dev-python/lockfile/Manifest |
18 |
index 4be3a3c..7758b6f 100644 |
19 |
--- a/dev-python/lockfile/Manifest |
20 |
+++ b/dev-python/lockfile/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST lockfile-0.11.0.tar.gz 20909 SHA256 eed7e0c829135aaaf2a9df83652bc6e2cc50175d933741c25aac0394674e7fd3 SHA512 6c4c69e1434194076a99f8134a2558c791675d420a17687dfd5b38c1303564392ecc388ec285d55a20027bcbcbc1b3475a489b70390796c46346b89d4b18ad89 WHIRLPOOL 3fe41cec5f22109ce17e249a02469201e74cc6facd18bbcd5d6b75984f1f72e66d36eab68772d9bc6aa0c1ef6597f3bdf8f8757d9f867323d152cca8a47a445f |
23 |
+DIST lockfile-0.12.2.tar.gz 20874 SHA256 6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799 SHA512 67b7d651d7e963a497c2604912c61eed90181cdd09c744a0ceaa26e6bbe09d1a871ce48be3949b7da7ea6b366b15492c8c8de589edeca2641ca5e6cb3804df07 WHIRLPOOL a8aeb69cfeb0c190885fce7198ebfdb898b361806816a3b902e8764ad909cec8497dc5f09004bec2c0bbc6a88c057a4104e9a40e93fd25bb32437f4b63de491a |
24 |
|
25 |
diff --git a/dev-python/lockfile/lockfile-0.12.2.ebuild b/dev-python/lockfile/lockfile-0.12.2.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..8bb8576 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/lockfile/lockfile-0.12.2.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
38 |
+PYTHON_REQ_USE="threads(+)" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Platform-independent file locking module" |
43 |
+HOMEPAGE="https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ >dev-python/pbr-1.8[${PYTHON_USEDEP}] |
53 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
54 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
55 |
+RDEPEND="" |
56 |
+ |
57 |
+DOCS=( ACKS AUTHORS ChangeLog README.rst RELEASE-NOTES ) |
58 |
+ |
59 |
+python_compile_all() { |
60 |
+ if use doc; then |
61 |
+ einfo "Generation of documentation" |
62 |
+ emake -C doc/source html || die "Generation of documentation failed" |
63 |
+ fi |
64 |
+} |
65 |
+ |
66 |
+python_test() { |
67 |
+ # "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output |
68 |
+ nosetests --verbose || die "test_lockfile failed under ${EPYTHON}" |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ use doc && local HTML_DOCS=( doc/source/.build/html/. ) |
73 |
+ distutils-r1_python_install_all |
74 |
+} |