1 |
commit: ddf093bb3ac8523db1f663ca75371edb9cd93904 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 4 13:37:57 2017 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 4 13:38:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddf093bb |
7 |
|
8 |
dev-python/pyproj: 1.9.5.1 bump, add python 3 support, bug #598758 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/pyproj/Manifest | 1 + |
13 |
dev-python/pyproj/pyproj-1.9.5.1.ebuild | 37 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest |
17 |
index 33d9a2c..f89eced 100644 |
18 |
--- a/dev-python/pyproj/Manifest |
19 |
+++ b/dev-python/pyproj/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pyproj-1.9.4.tar.gz 7838454 SHA256 71b4d8c52d781e2b4afe2d3609e9d700cb631ddbf51060bc702644733cc70869 SHA512 96b118e75ba8360ca56176631c44567c7b6596f98189a99bfbdc2d0f8bff1bba814a86d66ac1c54964951a3534c2a5cfb54a0fc4d8eda52c77069a8b64f8db3a WHIRLPOOL 750f466566aab3d2edb155407f37efc7f514901bd782b5be589f1c788059c81c8e17e519d53410be169cec971aa3524268bd86e08f9f90a1e2b742343f6b0ae2 |
22 |
+DIST pyproj-1.9.5.1.tar.gz 4424543 SHA256 53fa54c8fa8a1dfcd6af4bf09ce1aae5d4d949da63b90570ac5ec849efaf3ea8 SHA512 b0e0f85be01a3399cb41c4bf29d1a63ecb519fd45d6092a3558060d93c715afafd12f7532c8665839225ad7243e739a117677f6747bf34a0ccbde5e75c85f324 WHIRLPOOL 5ddb28a2ee6bbc3e50a0d76355f51b93c50c078459a6bc582f6a1538abbe349b45b0fe3bbc195e751b575ef5096a47ee6e88cf8e5dd4c69b9e917589da29ac05 |
23 |
|
24 |
diff --git a/dev-python/pyproj/pyproj-1.9.5.1.ebuild b/dev-python/pyproj/pyproj-1.9.5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..19beaf7 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pyproj/pyproj-1.9.5.1.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) |
37 |
+ |
38 |
+inherit distutils-r1 flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="Python interface to PROJ.4 library" |
41 |
+HOMEPAGE="https://github.com/jswhit/pyproj" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux" |
47 |
+IUSE="doc" |
48 |
+ |
49 |
+python_prepare_all() { |
50 |
+ distutils-r1_python_prepare_all |
51 |
+ append-cflags -fno-strict-aliasing |
52 |
+} |
53 |
+ |
54 |
+python_test() { |
55 |
+ einfo "Testruns do not have regular unittest type tests, instead for test.py," |
56 |
+ einfo "the output need be compared with a separate file, sample.out." |
57 |
+ "${PYTHON}" test/test.py || die |
58 |
+ |
59 |
+ einfo ""; einfo "Now the file test2.py is run to test pickling"; einfo "" |
60 |
+ "${PYTHON}" test/test2.py || die |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ use doc && local HTML_DOCS=( docs/. ) |
65 |
+ distutils-r1_python_install_all |
66 |
+} |