summaryrefslogtreecommitdiff
path: root/dev-python/jaraco-stream
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/jaraco-stream
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/jaraco-stream')
-rw-r--r--dev-python/jaraco-stream/Manifest8
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild52
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild1
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild1
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-3.0.0.ebuild51
5 files changed, 57 insertions, 56 deletions
diff --git a/dev-python/jaraco-stream/Manifest b/dev-python/jaraco-stream/Manifest
index b69ec2788d5c..7277b77872fa 100644
--- a/dev-python/jaraco-stream/Manifest
+++ b/dev-python/jaraco-stream/Manifest
@@ -1,7 +1,7 @@
-DIST jaraco.stream-1.1.1.tar.gz 6115 BLAKE2B 0994abe3c9688722c76e656e87166fa60d4bf45fb22ccc826227629bffb60fe0be78bb7a5f9f00b8766b5ce26d641d4b347d6c0fc73c426b424c230cb7d625b6 SHA512 65c8d1652a0d63506cc3cadee590664e6a99e2f770d26f0cea1dce07c54ffe308e1df8619bc728ea81c5ac43c9c6731fe9f71e5d38d2674c4e0d63d635bb5112
DIST jaraco.stream-1.2.tar.gz 7696 BLAKE2B fcc1aa8d26da17635b9ee7c68c278ae572cbe36a108cb30f5eb98c7ebfd2255aad499bed38ea044b28e820646b92e64602db0e2cdfc430169035882f7b6abe9b SHA512 47a96c1de12eb64e250c85d97429218606dc9bb212cf7b97e579763dd901ee063711c00307b7442be400856d3fd4e5994afbe1cb91a99e233541ffd7ff4024b9
DIST jaraco.stream-2.0.tar.gz 11061 BLAKE2B 86cc9958e11421fe839551e029f839c16a12b80d329466b44224d145be6c2a15a63d03f426a9b8d1510249ea6c129e892dcfec41a32dd5c3c3a3b66acc21030f SHA512 d379d07772d739abb275cfc8ed7809583c728af695294b9d12ae1276add360b9559de64104cd20d05d82a3250237ae1f6eb23420970a95e9fdf6346ef9312331
-EBUILD jaraco-stream-1.1.1.ebuild 1192 BLAKE2B 71d085e24d805d97caf77849d62b10b0e7f4f2556cda473b634f641f090aaccc25f3d30a3e8c490203261ae4dc2fdc86063c838c0140222c5615b96db895fbe7 SHA512 88a64fa37c0746fc097baa1648ddafb6a3db67932d501bcb9589843da6ed45a9bd0a404241c87ba8de764bec54fc28bb414c8944208f606310abacc24f0a1a5e
-EBUILD jaraco-stream-1.2-r1.ebuild 1413 BLAKE2B ef4acb8ab97076a43f45876a442a729f84ec3743fb65c7c33c563bdba823dda0201cccd0b727925f7f5f275ded18ead25c78afb2650f0c7e1b311c9382984dc4 SHA512 1fcce9e3739cceb36cae502562afec74460f45dcf15d669af22f6aa81ae298547c0b791a90177e64ede1d2d9fb8217727752ffaa493ae98d377fe8a3f201f14c
-EBUILD jaraco-stream-2.0-r1.ebuild 1602 BLAKE2B 1764bf7db45a5a5af609f680e9c8a9c7beadb516f19b988a319b63a14c87cb86e18e2af7d1845a151147a7e4d13cf3b427cd97ca58e09e652b5bec8d752dd131 SHA512 db96e6822783569dbbe3fa2d7af8c24abaa233097596e03b0dbb60f8d70472a657e7adca4a918a07aef822f48c7b60bef0102aa1e11d9ee8b2d6ca0287dcf290
+DIST jaraco.stream-3.0.0.tar.gz 11838 BLAKE2B 9d26ff8f78a3f090d79ccc8cbc41819a8290ebdb7770f56a57938ad9311ca1fd168d633fec78ee102c2c08156c9e0ae6f521dd5cafcb9df22928ba9f3f832734 SHA512 f2ce7e65d9a3bcd81985f45d03f7cd56b2f2939f13a423b8b65714f19eb249493d89cad774460dd08c1345124d3d10f85ce6875b5f7049705f993c0a3146e5d9
+EBUILD jaraco-stream-1.2-r1.ebuild 1440 BLAKE2B 509d38057ef8c5fab598737e1a29b9b68b3f1fa7e8f141807f1553bc8b37535b6c94c389dc08daba612e20d7a0f2aa57c121d42c59591d8f71d6b1b83bfe3fe9 SHA512 e3b377d60f56d22fb7e1777a3d30decf6db1d8a9b7f9761150fd5a69bfff4df62a55fd74fa1d12987c0d248f4ee7844feac033c0f350961f49dc04b096c73ec3
+EBUILD jaraco-stream-2.0-r1.ebuild 1629 BLAKE2B 735fb25b1089185419fb0afb71748883420c7bd93df2fd73bb3d3221418e0f126bfbbb495065ea6313f99df547ca4670917cc8f567ed4031102de568239a19f7 SHA512 d689acbd5522c40d78e976cf6f68dbf29472fea763ecc1b9bca8205c9d859bdc9279a70b30e56d88932cf4e5b3c33fab4301b11056a9f591913b8828e0acdbc2
+EBUILD jaraco-stream-3.0.0.ebuild 1404 BLAKE2B 0394e1c75242e107a6d92e0a5ab35f48ce50a631542f9621794d4fbd40b372b7da3421ae517d1edf91777f5e59879f7f13e7fa646900118081204142af3bedb6 SHA512 66b5ddf6f945d3480cc7db8ffbced27444cfb75fd3492caf673d57cbd936fa118fe25c0836d96021bb2ce7230d9be35c369a3b7f531b76ffca0e17a3df1e0410
MISC metadata.xml 602 BLAKE2B 3875bfb93914028b263ef5b6f7af81ee9f3fc08f1217537363a02b12e69f273ad9344c5078ea284ed5edfee1389bace975f2745379c3b4b17db4fbeee4045494 SHA512 3a6635e6f38260c76979248878ff326451273bab021f3e85c23a0ae7e29d71daa53ccfa319c8d8457faa00c6fdf5ad3dc68e0693e951ecdd419182f1861a36c0
diff --git a/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild b/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild
deleted file mode 100644
index 97e31ddf3317..000000000000
--- a/dev-python/jaraco-stream/jaraco-stream-1.1.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_5} )
-
-inherit distutils-r1
-
-MY_PN="${PN/-/.}"
-DESCRIPTION="Routines for handling streaming data"
-HOMEPAGE="https://github.com/jaraco/jaraco.stream"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc test"
-
-RDEPEND="
- dev-python/more-itertools[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
-"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
- test? (
- ${RDEPEND}
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- )
- doc? (
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/rst-linker[${PYTHON_USEDEP}]
- )
-"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-python_compile_all() {
- use doc && esetup.py build_sphinx
-}
-
-python_test() {
- # Skip one test which requires network access
- PYTHONPATH=. py.test --ignore=jaraco/stream/test_gzip.py \
- || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild b/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild
index 6e61e406dd65..7d65d1251a30 100644
--- a/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild
+++ b/dev-python/jaraco-stream/jaraco-stream-1.2-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
<dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild b/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild
index 76b658301038..98e993bdea70 100644
--- a/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild
+++ b/dev-python/jaraco-stream/jaraco-stream-2.0-r1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
diff --git a/dev-python/jaraco-stream/jaraco-stream-3.0.0.ebuild b/dev-python/jaraco-stream/jaraco-stream-3.0.0.ebuild
new file mode 100644
index 000000000000..48dec9742af4
--- /dev/null
+++ b/dev-python/jaraco-stream/jaraco-stream-3.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+DESCRIPTION="Routines for handling streaming data"
+HOMEPAGE="https://github.com/jaraco/jaraco.stream"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs \
+ ">=dev-python/jaraco-packaging-3.2" \
+ ">=dev-python/rst-linker-1.9"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_test() {
+ # Skip one test which requires network access
+ # Override pytest options to skip flake8
+ PYTHONPATH=. pytest -vv --ignore=jaraco/stream/test_gzip.py \
+ --override-ini="addopts=--doctest-modules" \
+ || die "tests failed with ${EPYTHON}"
+}
+
+# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages
+python_install() {
+ rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die
+ # note: eclass may default to --skip-build in the future
+ distutils-r1_python_install --skip-build
+}