Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dulwich/
Date: Mon, 30 Oct 2017 10:23:07
Message-Id: 1509358968.4bf0b82a360a647f0ca63045f086b2613a1d9ac8.grobian@gentoo
1 commit: 4bf0b82a360a647f0ca63045f086b2613a1d9ac8
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 30 10:22:48 2017 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 30 10:22:48 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf0b82a
7
8 dev-python/dulwich: version bump, bug #635856
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 dev-python/dulwich/Manifest | 2 +-
13 dev-python/dulwich/dulwich-0.18.5.ebuild | 50 ++++++++++++++++++++++++++++++++
14 dev-python/dulwich/dulwich-0.9.9.ebuild | 43 ---------------------------
15 3 files changed, 51 insertions(+), 44 deletions(-)
16
17 diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest
18 index b5cc5489a3f..971ba685a7f 100644
19 --- a/dev-python/dulwich/Manifest
20 +++ b/dev-python/dulwich/Manifest
21 @@ -1,3 +1,3 @@
22 DIST dulwich-0.17.3.tar.gz 311704 SHA256 0c3eccac93823e172b05d57aaeab3d6f03c6c0f1867613606d1909a3ab4100ca SHA512 1cc7950d53b8d8bb98f9206e1ced74857f756d4355813ddb2463cef855419ac57ae411e422e500b736c3e577f71da70d675d1f172140d4cc0645d3d5ab9e6e32 WHIRLPOOL c094224fd8c8f135114a7a91f4bbf509f7c28c24d3cdf8e6af25f8ccbbab6fb1bbe39fae1594429844746f6e006f4a63b9536fa84ecd3d617c6c6f5a2a2d5fe2
23 DIST dulwich-0.18.3.tar.gz 328891 SHA256 d34c2628f89a5ac632fa462b2edd5afcfbf512793cfa14452d4c52f786962a8a SHA512 c89ae096407b59b37c2c36e7a429f2162950a0ee93f0ac619ea74c7ce48231ad9af097203dc8d9e2cd59bf1962f9c13325de61e9988c402fd3e212aacd910898 WHIRLPOOL 6d7aa5dd97fbc61d4248dc44626375ff465b132ae7c4ef8b60a473f138e53beb909e23e7a2fa2307a8bf44a8df52ff87f8958a41830ba16783918494d1668e01
24 -DIST dulwich-0.9.9.tar.gz 270127 SHA256 084e762c8d4d0c0002823249db57b8e735c99c409dacc2849565dd3c0c288496 SHA512 5039e8e80c51b8ee0df2ba0805fa63d9b476a05c86b6bd9eaf9348ac03a83f0f1208e259ae6bcf40fb2c94ffb57c9b45bff852e367b8bee95c10e672d3dc19d5 WHIRLPOOL 2a79d25f1233d9a6a242d064af179486810555eb3c9803c336ae152095318a32eb8588779cb07f84b073a05bf7f083ba3b3d4c8d2b4f8929b2aa3d01c29a0a01
25 +DIST dulwich-0.18.5.tar.gz 330097 SHA256 838bac318fd0ed79e0eedb6cfd53b6424dc618fec6b99dc959881b12da7bd6e0 SHA512 4ba0f70ebddf4c7f4e71721812e228f820226d4ea42bda4d5f06a0720a029d4dddb800cfc05b2610525922c5fcef1020edd1485105706d9ef3fcf810e6381035 WHIRLPOOL 7ab826c3d294ca17500de5beeb18e70cd912d468361e9972800ffd54768751d84c9f26e99871e2ba760a91d78397db786f0db7a2c3d16f4c301f8961138b3566
26
27 diff --git a/dev-python/dulwich/dulwich-0.18.5.ebuild b/dev-python/dulwich/dulwich-0.18.5.ebuild
28 new file mode 100644
29 index 00000000000..2a3bf41392d
30 --- /dev/null
31 +++ b/dev-python/dulwich/dulwich-0.18.5.ebuild
32 @@ -0,0 +1,50 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols"
43 +HOMEPAGE="https://github.com/jelmer/dulwich/ https://pypi.python.org/pypi/dulwich"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="GPL-2+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 +IUSE="doc examples test"
50 +
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + test? (
54 + dev-python/gevent[${PYTHON_USEDEP}]
55 + dev-python/geventhttpclient[${PYTHON_USEDEP}]
56 + dev-python/mock[${PYTHON_USEDEP}]
57 + dev-python/python-fastimport[${PYTHON_USEDEP}]
58 + )"
59 +
60 +DISTUTILS_IN_SOURCE_BUILD=1
61 +
62 +# One test sometimes fails
63 +# https://github.com/jelmer/dulwich/issues/541
64 +PATCHES=( "${FILESDIR}/${PN}-0.18.3-skip-failing-test.patch" )
65 +
66 +python_compile_all() {
67 + use doc && emake -C docs html
68 +}
69 +
70 +python_test() {
71 + emake check
72 +}
73 +
74 +python_install_all() {
75 + use doc && local HTML_DOCS=( docs/build/html/. )
76 + if use examples; then
77 + insinto "/usr/share/doc/${PF}"
78 + docompress -x "/usr/share/doc/${PF}/examples"
79 + doins -r examples
80 + fi
81 + distutils-r1_python_install_all
82 +}
83
84 diff --git a/dev-python/dulwich/dulwich-0.9.9.ebuild b/dev-python/dulwich/dulwich-0.9.9.ebuild
85 deleted file mode 100644
86 index 6aa147ef409..00000000000
87 --- a/dev-python/dulwich/dulwich-0.9.9.ebuild
88 +++ /dev/null
89 @@ -1,43 +0,0 @@
90 -# Copyright 1999-2016 Gentoo Foundation
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=5
94 -
95 -PYTHON_COMPAT=( python2_7 )
96 -
97 -inherit distutils-r1
98 -
99 -DESCRIPTION="Pure-Python implementation of the Git file formats and protocols"
100 -HOMEPAGE="https://github.com/jelmer/dulwich/ https://pypi.python.org/pypi/dulwich"
101 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
102 -
103 -LICENSE="GPL-2+"
104 -SLOT="0"
105 -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
106 -IUSE="doc examples test"
107 -
108 -DEPEND="
109 - dev-python/setuptools[${PYTHON_USEDEP}]
110 - test? ( dev-python/gevent[$(python_gen_usedep python2_7)] )"
111 -RDEPEND=""
112 -
113 -DISTUTILS_IN_SOURCE_BUILD=1
114 -
115 -python_compile_all() {
116 - use doc && emake -C docs html
117 -}
118 -
119 -python_test() {
120 - # https://github.com/jelmer/dulwich/issues/196
121 - if [[ "${EPYTHON}" == pypy ]]; then
122 - "${PYTHON}" -m unittest dulwich.tests.test_suite || die "Tests failed under pypy"
123 - else
124 - emake check
125 - fi
126 -}
127 -
128 -python_install_all() {
129 - use doc && local HTML_DOCS=( docs/build/html/. )
130 - use examples && local EXAMPLES=( examples/. )
131 - distutils-r1_python_install_all
132 -}