1 |
commit: e3760481155ad807f0a3c7c6007535f6952c8991 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 30 21:29:59 2018 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 30 21:31:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3760481 |
7 |
|
8 |
dev-python/atomicwrites: version bump 1.2.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-python/atomicwrites/Manifest | 1 + |
13 |
dev-python/atomicwrites/atomicwrites-1.2.1.ebuild | 41 +++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/atomicwrites/Manifest b/dev-python/atomicwrites/Manifest |
17 |
index 72e170e6895..bb06756e5ec 100644 |
18 |
--- a/dev-python/atomicwrites/Manifest |
19 |
+++ b/dev-python/atomicwrites/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST atomicwrites-1.1.5.tar.gz 18951 BLAKE2B b0932995aae3ca23c11aace182429f4888819ea542a12b59d5b7ed4621c4759285d0cba306437bd1ce35b1ba32eac8ae6afc6548f2bae61870dbf03927c4fe75 SHA512 4de8ab93dcb226c55e8ae1b0ef883c2e1eeae50ac6596afe036ca51dbf6b094c13dbf2d792972312d4c53551886aaa2713aac54bfab42b85abef4d1146e039ac |
22 |
+DIST atomicwrites-1.2.1.tar.gz 11660 BLAKE2B 06b4ca25f39be0e7e8d8e8b46749d7dce052f912e82b1ccd39e308c8ed51ab0d4891f00c11d0e52ef50901c01566f20fcf1318cb472c9a1f3a08617fd1b56235 SHA512 4df7ee97e0817a80378b273ced310b8ad88eb6ced93a594a6e3dc38ad1e7208226fde01b6d282f85583c57a50859e82c85bacaae8a7c64fce55e6965f74b12c5 |
23 |
|
24 |
diff --git a/dev-python/atomicwrites/atomicwrites-1.2.1.ebuild b/dev-python/atomicwrites/atomicwrites-1.2.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..5ca007ff2e8 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/atomicwrites/atomicwrites-1.2.1.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Atomic file writes" |
39 |
+HOMEPAGE="https://github.com/untitaker/python-atomicwrites" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86 ~amd64-fbsd" |
45 |
+IUSE="doc test" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ doc? ( |
50 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
51 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
52 |
+ ) |
53 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
54 |
+" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die |
58 |
+ distutils-r1_python_prepare_all |
59 |
+} |
60 |
+ |
61 |
+python_compile_all() { |
62 |
+ if use doc; then |
63 |
+ sphinx-build docs docs/_build/html || die |
64 |
+ HTML_DOCS=( docs/_build/html/. ) |
65 |
+ fi |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ py.test -v || die "Tests fail with ${EPYTHON}" |
70 |
+} |