diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-30 00:36:36 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-30 00:36:36 +0000 |
| commit | f4a49b7362b4a05121fca8278a5854bc5ee7a8cb (patch) | |
| tree | 0abc656e67b46f5195a1ad4bb4ece3e04c0f6d31 /dev-python | |
| parent | 5a2c1b8da9860137f12c66aaa60eb350ba0c117b (diff) | |
| download | baldeagleos-repo-f4a49b7362b4a05121fca8278a5854bc5ee7a8cb.tar.gz baldeagleos-repo-f4a49b7362b4a05121fca8278a5854bc5ee7a8cb.tar.xz baldeagleos-repo-f4a49b7362b4a05121fca8278a5854bc5ee7a8cb.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
28 files changed, 383 insertions, 56 deletions
diff --git a/dev-python/croniter/Manifest b/dev-python/croniter/Manifest index e469f31a46f4..c0c9ef5afcfc 100644 --- a/dev-python/croniter/Manifest +++ b/dev-python/croniter/Manifest @@ -2,3 +2,4 @@ DIST croniter-0.3.30.tar.gz 18122 BLAKE2B d15e19167eabf935ca12ad2b277b9b97459248 DIST croniter-0.3.37.tar.gz 29607 BLAKE2B dfa466f8557e47c282cf7a7399b1364dd272a313d40b4c9a57e60de9e4bd174312cec24126679994ddce3c320b24d89db4b4395736e344e2a3df5fd13188f7b2 SHA512 733412d6263d5261e05139861465602016925716abe04b82218b370e82ca7cdf7418113d911fe693fc7242fdb686580970b60609de28b3b7f4330a91c721a551 DIST croniter-1.0.1.tar.gz 29720 BLAKE2B 74583e170bc2bcd504ea323a50f0421157dd2e064a8ffa6a3dd0098084f3d4fe86427373cfc851d8d859a08473e9ff1ae4b3c38a46fad5886534a9638cf1a2bb SHA512 2ea3e4f13c8b95c15249ae95c3295e80983cd1713a4d89b931da7f6f712809e4625916c231418d30f419b69caf9f0465cf3f0b5acc3d5468e8a43e1029cdf6cb DIST croniter-1.0.2.tar.gz 29809 BLAKE2B d7e5b668f97f98efdf992de4dd92bbddd8197275557364516af5d74b8376260967b249723dfda1d835c60dd185612a45f6ed6447609c593ad108ae1b738cefc7 SHA512 6e4b593dbbb5e3e1ce9a25ad709a1970f22feb1d0a2bf7fa97b8cc3eb43fbe896a842f74b3fc3cd08e3d414767cc661bf5c5307a206c42e1f0de5776b2b24310 +DIST croniter-1.0.5.tar.gz 30254 BLAKE2B cfab37af5c3d750e1f2f902d68324af9276916ddd754d9952ac4af7e8f3388d642f0c878a390ea3916c63c3deb097275eb254e70c1f3d517ca97a64bc410ce87 SHA512 540e9b84df589c84775fb7129c297ac46a8187b51c4b53f22319a8a80fac888645533d27da2755c99651adb1899325f687833dcc0739b506b2e03a8ffa8226ed diff --git a/dev-python/croniter/croniter-1.0.5.ebuild b/dev-python/croniter/croniter-1.0.5.ebuild new file mode 100644 index 000000000000..a935aed3633c --- /dev/null +++ b/dev-python/croniter/croniter-1.0.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python module to provide iteration for datetime object" +HOMEPAGE="https://github.com/kiorky/croniter https://pypi.org/project/croniter/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/future[${PYTHON_USEDEP}] + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/fudge/fudge-1.1.1.ebuild b/dev-python/fudge/fudge-1.1.1.ebuild index 2f82c7056cf5..6e719071db7f 100644 --- a/dev-python/fudge/fudge-1.1.1.ebuild +++ b/dev-python/fudge/fudge-1.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/jsonslicer/Manifest b/dev-python/jsonslicer/Manifest new file mode 100644 index 000000000000..85fa75fd620c --- /dev/null +++ b/dev-python/jsonslicer/Manifest @@ -0,0 +1 @@ +DIST jsonslicer-0.1.6.tar.gz 19699 BLAKE2B a5bc618f237b3650411320048cd81b0c7f0adfcc7f06476ecd0a334188fe53943555a6a69cb213f861806fc491562026a629f2208135637470b39abaea892340 SHA512 8d95209f701070a30b892d44561bac76ea016bda3f0e1108aed8680bf9a7b41112a8073e05ac711ad7f7d8ba12705d790fcf15c641bee76fe8d4a56c54f99204 diff --git a/dev-python/jsonslicer/jsonslicer-0.1.6.ebuild b/dev-python/jsonslicer/jsonslicer-0.1.6.ebuild new file mode 100644 index 000000000000..d57483bd8978 --- /dev/null +++ b/dev-python/jsonslicer/jsonslicer-0.1.6.ebuild @@ -0,0 +1,20 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="stream JSON parser" +HOMEPAGE="https://github.com/AMDmi3/jsonslicer" +SRC_URI="https://github.com/AMDmi3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" + +DEPEND=" + dev-util/pkgconf + dev-libs/yajl +" diff --git a/dev-python/jsonslicer/metadata.xml b/dev-python/jsonslicer/metadata.xml new file mode 100644 index 000000000000..3d8e64ddf35d --- /dev/null +++ b/dev-python/jsonslicer/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <upstream> + <remote-id type="github">AMDmi3/jsonslicer</remote-id> + </upstream> + <origin>ports</origin> +</pkgmetadata> diff --git a/dev-python/libversion/Manifest b/dev-python/libversion/Manifest new file mode 100644 index 000000000000..cb00947ae148 --- /dev/null +++ b/dev-python/libversion/Manifest @@ -0,0 +1 @@ +DIST libversion-1.2.1.tar.gz 7645 BLAKE2B 5e7d9867b8ebe99f0c7305df3b81d25ae8031d72d29cf9af9d2b264547b17be904ef6395e0f0b78f4add04a8fc6f4eccc1113d969e2f6b60e903fca4cc7824da SHA512 a8ace4e9f6ff3455325e341fbb68fdceef4d10bf0d7ceb636f0ed02159a0ecbd0311edccab5540392d8eff78de5c9ea96271d219ed5e013e84458e521f089eec diff --git a/dev-python/libversion/libversion-1.2.1.ebuild b/dev-python/libversion/libversion-1.2.1.ebuild new file mode 100644 index 000000000000..27db43014dfc --- /dev/null +++ b/dev-python/libversion/libversion-1.2.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for libversion" +HOMEPAGE="https://github.com/repology/py-libversion https://pypi.org/project/libversion/" +SRC_URI="https://github.com/repology/py-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" + +DEPEND="dev-libs/libversion" + +S="${WORKDIR}/py-${P}" diff --git a/dev-python/libversion/metadata.xml b/dev-python/libversion/metadata.xml new file mode 100644 index 000000000000..868471ae2491 --- /dev/null +++ b/dev-python/libversion/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <upstream> + <remote-id type="github">repology/py-libversion</remote-id> + </upstream> + <origin>ports</origin> +</pkgmetadata> diff --git a/dev-python/mwparserfromhell/Manifest b/dev-python/mwparserfromhell/Manifest index f15584381dd8..7773744026c6 100644 --- a/dev-python/mwparserfromhell/Manifest +++ b/dev-python/mwparserfromhell/Manifest @@ -1 +1,2 @@ -DIST mwparserfromhell-0.5.4.tar.gz 151189 SHA512 f45c38c4e07603aff77d941aa34db09968808fb6f3fb4676632508d7cac25545bc9888ecbe2d2ead093ab5fe7f506a6993eb38f18e014049542e6c0e4a24404b +DIST mwparserfromhell-0.5.4.tar.gz 151189 BLAKE2B 711ca361adc0eced70813232ee0de435fbe9aa80e95795a8fc9bf576f1e7a7dae8d983a50461e5ddcd3fac772e8da0ef92597011f4f9e63b66575168e35aacab SHA512 f45c38c4e07603aff77d941aa34db09968808fb6f3fb4676632508d7cac25545bc9888ecbe2d2ead093ab5fe7f506a6993eb38f18e014049542e6c0e4a24404b +DIST mwparserfromhell-0.6.tar.gz 151497 BLAKE2B 7bef0a7210f02dd3ed70df3efa823be46bc9bfca0bd9715e808b386bad962c9aab70c0ef11d84622b612d0c6b3e6aac9e8e90911326a99a4fa6b285d244be77a SHA512 bd6137af858b521d08427bf579e2a6b1e2e1a7d616a7026228d6cba7617e3628b82066fed009194d723bc8edfc17721ea0b3165dc0d86bf54b80639d1a3aa3cb diff --git a/dev-python/mwparserfromhell/mwparserfromhell-0.6.ebuild b/dev-python/mwparserfromhell/mwparserfromhell-0.6.ebuild new file mode 100644 index 000000000000..7fe6c68c1fef --- /dev/null +++ b/dev-python/mwparserfromhell/mwparserfromhell-0.6.ebuild @@ -0,0 +1,18 @@ +# Copyright 2020-2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python MediaWiki parser" +HOMEPAGE="https://github.com/earwig/mwparserfromhell/" +SRC_URI="https://github.com/earwig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="*" +IUSE="" + +DEPEND="dev-python/setuptools[$PYTHON_USEDEP]" +RDEPEND="" diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest index 98169a79706d..3ebdcced9e02 100644 --- a/dev-python/pypugjs/Manifest +++ b/dev-python/pypugjs/Manifest @@ -1 +1,2 @@ DIST pypugjs-5.9.5.tar.gz 48925 BLAKE2B 4487799759e5090a9ef20da5af2d94d6f2d0139409cb5b963153ca949160bdf3f8f5ec8a3dd2949913b80f77b454ce4aeca00d9df10716c7202e105823db8f8b SHA512 f38ced5a908a4353aa1e48df605ebd80da418ecd2f5f554bf8e7788275a13ed82bc5b420656e5ba88862e033e339c5118d097d0ca7c1237aadd5049a15976aa8 +DIST pypugjs-5.9.8.tar.gz 49012 BLAKE2B c072f834127011edd81eab3d141a107592ee305739bee3bf116c9e0782009ecfbbfbb0cf5c10a04b6abdd303c18f79a0fb167f4dbfa2a4ca39664faef66d9f31 SHA512 5f02b2fd4355a489badb0ff09053438d5cd4a2a1d21da84fc276efe496492e384e55aea33d7ba715cc68437a1292ea30e39700e5f7bbff9dfe174d1cedca9fef diff --git a/dev-python/pypugjs/pypugjs-5.9.5.ebuild b/dev-python/pypugjs/pypugjs-5.9.5.ebuild index 0c6b3bbcc93c..fa966be38011 100644 --- a/dev-python/pypugjs/pypugjs-5.9.5.ebuild +++ b/dev-python/pypugjs/pypugjs-5.9.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS="bdepend" +DISTUTILS_USE_SETUPTOOLS="rdepend" inherit distutils-r1 diff --git a/dev-python/pypugjs/pypugjs-5.9.8.ebuild b/dev-python/pypugjs/pypugjs-5.9.8.ebuild new file mode 100644 index 000000000000..fa966be38011 --- /dev/null +++ b/dev-python/pypugjs/pypugjs-5.9.8.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS="rdepend" + +inherit distutils-r1 + +DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates" +HOMEPAGE="https://github.com/kakulukia/pypugjs" +SRC_URI="https://github.com/kakulukia/pypugjs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/chardet +" +DEPEND="${RDEPEND}" diff --git a/dev-python/rubymarshal/Manifest b/dev-python/rubymarshal/Manifest new file mode 100644 index 000000000000..892a3c1a4039 --- /dev/null +++ b/dev-python/rubymarshal/Manifest @@ -0,0 +1 @@ +DIST 1.2.7.tar.gz 48859 BLAKE2B 0e0f50e78b394f811d8f6dc8b2e29478b4b90f0a07430c44a4aefb26c366d45099c3e79b885161b0b7dcb3c7afbbc1fe10b564f670d66b73f25068f0ad941611 SHA512 e48e728a7db18556ca342e72906d293888c01b10eb283100feacae183ca3992bd829707700ddc1345ab27360ec1d022b7ae7066fad5dbfe9af4bf72f3af6ae1d diff --git a/dev-python/rubymarshal/metadata.xml b/dev-python/rubymarshal/metadata.xml new file mode 100644 index 000000000000..a5d16b99193a --- /dev/null +++ b/dev-python/rubymarshal/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <upstream> + <remote-id type="github">d9pouces/RubyMarshal</remote-id> + </upstream> + <origin>ports</origin> +</pkgmetadata> diff --git a/dev-python/rubymarshal/rubymarshal-1.2.7.ebuild b/dev-python/rubymarshal/rubymarshal-1.2.7.ebuild new file mode 100644 index 000000000000..c4d27fdff87e --- /dev/null +++ b/dev-python/rubymarshal/rubymarshal-1.2.7.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write Ruby-marshalled data" +HOMEPAGE="https://github.com/d9pouces/RubyMarshal" +SRC_URI="https://github.com/d9pouces/RubyMarshal/archive/${PV}.tar.gz" + +SLOT="0" +LICENSE="WTFPL" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" + +#DEPEND="dev-libs/libversion" + +S="${WORKDIR}/RubyMarshal-${PV}" diff --git a/dev-python/sudsds/metadata.xml b/dev-python/sudsds/metadata.xml index c4e7a7e3d49d..a56745df0223 100644 --- a/dev-python/sudsds/metadata.xml +++ b/dev-python/sudsds/metadata.xml @@ -8,5 +8,5 @@ <longdescription lang="en"> A lightweight SOAP python client for consuming Web Services. Czech NIC labs fork. </longdescription> - <origin>calculatelinux-overlay</origin> + <origin>kit-fixups</origin> </pkgmetadata> diff --git a/dev-python/sudsds/sudsds-1.0.1-r2.ebuild b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild index 3f8cc35cdc97..054a9f5306c4 100644 --- a/dev-python/sudsds/sudsds-1.0.1-r2.ebuild +++ b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2020 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=5 PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=manual inherit distutils-r1 DESCRIPTION="Lightweight SOAP client - Czech NIC labs fork" @@ -17,5 +16,5 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="doc" -DEPEND="dev-python/setuptools-python2[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest index 1ede0c796f0d..0d6050d32012 100644 --- a/dev-python/transitions/Manifest +++ b/dev-python/transitions/Manifest @@ -1,2 +1 @@ -DIST transitions-0.8.2.tar.gz 1084797 BLAKE2B 9ff6284e7c42365c5a169388057acffd53dd31c3ca6d9dee240b253ca34118a67d3f070fd8b6a86cb6a01a2e15023e0bad02ccc07813ee0855a54008ac3d7597 SHA512 d10e513806801d0c874be3eb59e92ad61584b5f7992ba26db8828848df1225fb806621abc118a8d43f2efaa353d988b5becbe4296bc054754e551c86495a540f DIST transitions-0.8.6.tar.gz 1092437 BLAKE2B 14a8f50bb3ab34e5a6589c1ccc14482373fcbe670d64cd822ef483da10d5e19771bea28ce26690907862422a7687cacccb8c82f5f623ba34888e88dbf2601945 SHA512 9ada9075074a1201c0858786ea446e5dd36576e154238dccbebc2523da0bd46cb676e7eb4abf1102207b2e674d3214dd4869b3c51a6b9e9799c38bd6be8aedac diff --git a/dev-python/transitions/transitions-0.8.2-r1.ebuild b/dev-python/transitions/transitions-0.8.2-r1.ebuild deleted file mode 100644 index ee6673a2262c..000000000000 --- a/dev-python/transitions/transitions-0.8.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" -HOMEPAGE="https://github.com/pytransitions/transitions" -SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples test" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/graphviz[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" - -DEPEND=" - ${RDEPEND} - test? ( - dev-python/dill[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/pycodestyle[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - - use examples && dodoc examples/*.ipynb -} diff --git a/dev-python/transitions/transitions-0.8.6.ebuild b/dev-python/transitions/transitions-0.8.6.ebuild index bacb1ae2d0b5..7ddfea02e3ff 100644 --- a/dev-python/transitions/transitions-0.8.6.ebuild +++ b/dev-python/transitions/transitions-0.8.6.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + inherit distutils-r1 DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" @@ -12,7 +13,7 @@ SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index cc98eccc667f..eec3f9f27775 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,2 +1,3 @@ DIST translate-toolkit-3.2.0.tar.gz 6029254 BLAKE2B fe4c30e09fcba6755a928775f931f1027bb5678606e74aa435fd5803642ab39b8b55d763bb96dba6b1a957d6656cfca4ec6400b735afd8df7f2c1273ac173c89 SHA512 1045762a5c63cc2bc8459b61a85ef56e4f1d1f705d74646b8235169f22d8d5aa4ab5e3599af52a860d9e434df0fad3e98836b0c021bb0a9697b36a59edbfb6ec DIST translate-toolkit-3.3.0.tar.gz 6122607 BLAKE2B 77e4d4e37fa5fdd0a735b04ccef40769863134411476abe2852855970594f7a11cf06114831c196a744a5e76d50b1707b630a738213d0ded5f588ad98dcfd613 SHA512 3529e5301e8e1f0d89bbadff92cebd5d55ada29fe5eb8d611f604139239645dd6d110bf93180b18faf2ececafb675f2fc6dfbe30d7631ba606a7dfcd5d8f27ca +DIST translate-toolkit-3.3.1.tar.gz 5969914 BLAKE2B 2ede440a341be0bd0206400d01bab881e6070820f362c53f47b5f88e192bcb7a18d2bf667a678378110046f70a035d42b67a77e2dc70829da323d69f675d21cc SHA512 1578fb8f96fa83ad97051a20f02d6570f96f2346d99fc86172718c995468c318f318f27f2ef259bd5dc10521bda4ac7da17385f72b726d7ea3c0fe65af8f313e diff --git a/dev-python/translate-toolkit/translate-toolkit-3.3.1.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.3.1.ebuild new file mode 100644 index 000000000000..22e1f4c97219 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.3.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE="https://github.com/translate/translate" +SRC_URI="https://github.com/translate/translate/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + !dev-python/pydiff + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] + >=dev-python/python-levenshtein-0.12.0[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-bootstrap-theme +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/translate-toolkit-3.3.0-no-install-docs.patch +) + +python_test() { + local deselect=( + # Not packaging optional phply for now. + # Seems inactive upstream. + --ignore translate/convert/test_php2po.py + --ignore translate/convert/test_po2php.py + --ignore translate/storage/test_php.py + --deselect 'translate/storage/test_cpo.py::TestCPOUnit::test_buildfromunit' + --deselect 'translate/storage/test_po.py::TestPOUnit::test_buildfromunit' + --deselect 'translate/storage/test_pypo.py::TestPYPOUnit::test_buildfromunit' + + # Fails with network-sandbox (and even with it off but w/ softer fail) + --deselect 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + --deselect 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + ) + + if ! use ini; then + deselect+=( + --ignore translate/convert/test_ini2po.py + --ignore translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + deselect+=( + --ignore translate/storage/test_subtitles.py + ) + fi + + # translate/storage/test_mo.py needs 'pocompile' + distutils_install_for_testing --via-root + + pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi + + python_optimize +} diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index 7097f0c1084b..88277f8c26c6 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1 +1,2 @@ DIST treq-20.9.0.tar.gz 60142 BLAKE2B a495b73221ee86163a5fefd03c8019f4b671a1f32d2ab304b89566339a36aaec7245d33b738b646fa48c42f4db9744938637ece058e067ee3f747e53ce442ab8 SHA512 c595ad69d5a9c688ca966cc897db669a57d14027e0bdc345d550f791390099743749be4a41294e61428cdc7bc0fa197474be780323b00f17a712505e081e7073 +DIST treq-21.1.0.tar.gz 71018 BLAKE2B 44223c0ad618f4a57283db60063ee2fd263f958ff18d90b055733fc3bb24c87483a7b833e2210197a4edd003cb3f86647bbb636a9692e5535908b19e0186dba8 SHA512 b68ded90021cb801b276d6310e729a985205bb0701b1d0576b00c6c4efd97400625efffa35763ceef8f0f8d94172cae6fc1abdd3de1c0a4871223d4f06758d89 diff --git a/dev-python/treq/treq-21.1.0.ebuild b/dev-python/treq/treq-21.1.0.ebuild new file mode 100644 index 000000000000..af1b99feddc0 --- /dev/null +++ b/dev-python/treq/treq-21.1.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS="bdepend" + +inherit distutils-r1 + +DESCRIPTION="A requests-like API built on top of twisted.web's Agent" +HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-python/incremental[${PYTHON_USEDEP}] + >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] +" + +RDEPEND="${COMMON_DEPEND} + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}] + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] +" + +DEPEND="${COMMON_DEPEND} + doc? ( dev-python/sphinx + ${RDEPEND} ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/httpbin[${PYTHON_USEDEP}] + )" + +python_compile_all() { + use doc && emake -C "${S}/docs" html +} + +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/ ) + + distutils-r1_python_install_all +} + +test_instructions(){ + ewarn "The 'test' USE flag and FEATURE only ensures that the correct" + ewarn "dependenciess are installed for this package." + ewarn "Please run eg:" + ewarn "$ python3.7 /usr/bin/trial treq" + ewarn "as a user for each of the python versions it is installed to" + ewarn "to correctly test this package." +} + +python_test() { + # Tests fail when run via emerge + # they need proper network access + test_instructions +} diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index b661756a7c85..c0d0eb64237e 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1,3 +1,4 @@ DIST xdoctest-0.15.0.tar.gz 629125 BLAKE2B f5144365c4d1d58c107ac0603a1d99cd5bc622d3772fc7f2c907193ea863d9ff99bd183cc7fac12e2f85b7647ba25d5ae6878c06d3df9a5cdda9a1f143b43110 SHA512 114add93a75807d787c674b0649f92ff011987705f640912f876c4a4c3103cef90b0fae1959d5a85ef399b80695e9cbfcae6e809950ff5651fa211f54326682d DIST xdoctest-0.15.2.tar.gz 883332 BLAKE2B e90364d6096357ff1b5006b289a56a1afd0f3d0e952202d17a1b99c16f867e23ce0214a4f646154d9f6aada9f94ddda47a9c1f669a833bffaa63d99c10837766 SHA512 ca3bfc241e2d137988ee6dda2e9229f74add662fc2fe295c4c006a3d63ac6284f3f623451006acc4a8273729ccc589e1c5bab9d7fc65135582d7fc9fcffea464 DIST xdoctest-0.15.3.gh.tar.gz 179880 BLAKE2B d35ccfaf4662c91d7b9a7191dc090721b963728312283af44c29614fe8af3d77434b192521bd29f760c7b53dd4e3dc708ccc7dc7c9ba294990a08441cbbda989 SHA512 b5e393246ef3c52481d48bbc9f91ddb0ffce24fd06c914d188f82ba9b7267727d9415fdd9a90f215c82e8bd76a4db2ab23aa99f473fe4901cc443d2196c9d3c9 +DIST xdoctest-0.15.4.gh.tar.gz 179295 BLAKE2B 0b44276a219119196543671d8ac24469ecd73b040bbd03ca416320d407f0dd34361dbb2778121621f6efb65835ea421107883277b6e712f03e4c06ea2b03dd6a SHA512 a0a35d5c73a8696266d9be44d11e9dbf05c9ac1165a05e681f7b70ef07ae7d56f4bd179e863b6675e2366f1627015e92092e8250ca592f004680db5ad886ad49 diff --git a/dev-python/xdoctest/xdoctest-0.15.4.ebuild b/dev-python/xdoctest/xdoctest-0.15.4.ebuild new file mode 100644 index 000000000000..a2a5e088657f --- /dev/null +++ b/dev-python/xdoctest/xdoctest-0.15.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" +HOMEPAGE="https://github.com/Erotemic/xdoctest/" +SRC_URI=" + https://github.com/Erotemic/xdoctest/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +# dev-python/nbformat-5.1.{0..2} did not install package data +BDEPEND=" + test? ( + || ( + >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}] + <dev-python/nbformat-5.1[${PYTHON_USEDEP}] + ) + )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme + +python_test() { + local -x PYTHONPATH=. + pytest -vv || die "Test fail with ${EPYTHON}" +} |
