diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-17 12:35:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-17 12:35:46 +0000 |
| commit | 2a927bf69bacb4a66de0cea206e33df97354ca41 (patch) | |
| tree | 755cf6cf89f91670a38d70f8589eb7a17dd1364c /dev-python | |
| parent | bc04e8f269394fd693048761281409264a172d02 (diff) | |
| download | baldeagleos-repo-2a927bf69bacb4a66de0cea206e33df97354ca41.tar.gz baldeagleos-repo-2a927bf69bacb4a66de0cea206e33df97354ca41.tar.xz baldeagleos-repo-2a927bf69bacb4a66de0cea206e33df97354ca41.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/apsw/apsw-3.32.2_p1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/bcrypt/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/bcrypt/bcrypt-3.2.0.ebuild | 24 | ||||
| -rw-r--r-- | dev-python/cmd2/cmd2-1.2.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/hypothesis/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-5.26.0.ebuild | 68 | ||||
| -rw-r--r-- | dev-python/hypothesis/metadata.xml | 5 | ||||
| -rw-r--r-- | dev-python/node-semver/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/node-semver/node-semver-0.8.0.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/phonenumbers/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/phonenumbers/metadata.xml | 4 | ||||
| -rw-r--r-- | dev-python/phonenumbers/phonenumbers-8.12.8.ebuild | 20 | ||||
| -rw-r--r-- | dev-python/python-nbxmpp/python-nbxmpp-1.0.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/quex/files/quex-0.71.0-py37.patch | 11 | ||||
| -rw-r--r-- | dev-python/quex/quex-0.71.0-r1.ebuild | 54 |
15 files changed, 222 insertions, 3 deletions
diff --git a/dev-python/apsw/apsw-3.32.2_p1.ebuild b/dev-python/apsw/apsw-3.32.2_p1.ebuild index 149dd708b6ed..6a934a97c6f7 100644 --- a/dev-python/apsw/apsw-3.32.2_p1.ebuild +++ b/dev-python/apsw/apsw-3.32.2_p1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/rogerbinns/apsw/releases/download/${MY_PV}/${MY_P}.z LICENSE="ZLIB" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~ppc64 x86" IUSE="doc" RDEPEND=">=dev-db/sqlite-${PV%_p*}" diff --git a/dev-python/bcrypt/Manifest b/dev-python/bcrypt/Manifest index 9da7ab994291..a4df3bd11ca7 100644 --- a/dev-python/bcrypt/Manifest +++ b/dev-python/bcrypt/Manifest @@ -1 +1,2 @@ DIST bcrypt-3.1.7.tar.gz 42512 BLAKE2B 5e762f153a5a69c1426748737956fd370e74fcd02e82b5a634e74dbb50fc9e894bdadb4e87eb9cdc580d0853f73ef348d9523ceaf4236df565e39b714bbd1c60 SHA512 bb9a431c8de97d5615d1a7fb67f868d08d839313fd5f3e17d8db40db1870f8b624594352c24c163c6a03485217de873cd92578040350678888728885c7b749de +DIST bcrypt-3.2.0.tar.gz 42416 BLAKE2B ff9cca995e38fe27c6f02e9770e9349dfe528a1c9c18f41c72f29dfc01e981373fc0964f3a74161f2a7dddea63c5f48708539221adcd5a8ae99b7c30d7b1afd8 SHA512 aa782aa6a725434e0b0737973e33e6c2bf4e82d39e8dfba0913da5d7dd051d55217adab8004c3eaf896fc3c3e145ba543da1b5162a667a3d82a4eb6b07430b80 diff --git a/dev-python/bcrypt/bcrypt-3.2.0.ebuild b/dev-python/bcrypt/bcrypt-3.2.0.ebuild new file mode 100644 index 000000000000..554d135d579c --- /dev/null +++ b/dev-python/bcrypt/bcrypt-3.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Modern password hashing for software and servers" +HOMEPAGE="https://github.com/pyca/bcrypt/ https://pypi.org/project/bcrypt/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris" + +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*') + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest diff --git a/dev-python/cmd2/cmd2-1.2.0.ebuild b/dev-python/cmd2/cmd2-1.2.0.ebuild index 673a9bcd37ce..efbe7d3234c1 100644 --- a/dev-python/cmd2/cmd2-1.2.0.ebuild +++ b/dev-python/cmd2/cmd2-1.2.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~ppc64 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 75c79f01614b..9a22a3c33be2 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -7,3 +7,4 @@ DIST hypothesis-python-5.24.0.tar.gz 9040780 BLAKE2B 126a7e0a4d9df292445453035d4 DIST hypothesis-python-5.24.2.tar.gz 9050270 BLAKE2B 05043935afec77b23349b4973a2b3b9fafceba467754dcf3295d410561e3c76ff3c4b2996f5f14aea46b5b6a073e7db2a8be085d42df79ed6eb78eacd7539234 SHA512 88c1351b70355906cc57b667f2a863ac1334219e1721504ea76b1599d57fdf272a96263c365fe24882be9f83f28671998ebee28b0faea2190d9b6b39d2c2dc84 DIST hypothesis-python-5.24.3.tar.gz 9050345 BLAKE2B bfb47794edb3c1c6aee22e808a6d27af52f8176d307f9a585efa0f1e0d68adf9a902ed6f67405e77c6804f18e17a76486ab42f610807f6ee97535f950318a055 SHA512 7647d14ba805ad3ff6465e1d2c6d9104560c7ea31517777ab45e07da39efefa7109215d2f4074082620554ae4aa5ce5060bca5c923d11c14718f1efdae829986 DIST hypothesis-python-5.24.4.tar.gz 9054743 BLAKE2B 5c64c86ed58d8f0e4a07390b1b1b5e405878b9632bf14233e0515ad9d98ec6ddcc57bf39be6b61f53739d34e393b3af64c0d362880019d29a649a9523a0204e3 SHA512 147f4fa47b54bf3ec4dfcebf2a6c98cee26ea6780244ef99e181bada65978375ca7731ed05cb98f1b92f7a44a357faae374d97d489ec6e2318ff94e526cd9a40 +DIST hypothesis-python-5.26.0.tar.gz 9062003 BLAKE2B 7a75c6fb2205944fc64100708c38417a5d3f1dd602a7fc14a464acb79e5d91b5513e9080e23c9ec5547edc6dbbe3b6a2c0425077a697a5656c0112d65adbaefd SHA512 8fc23a5e753cffe4a6a6b1be68fa96042933ef7ec8f8c4f88fbf0901996da9de576457647bea55ff2ceca4d71db322f927847258ca9bda90e1fac9f19c79a42b diff --git a/dev-python/hypothesis/hypothesis-5.26.0.ebuild b/dev-python/hypothesis/hypothesis-5.26.0.ebuild new file mode 100644 index 000000000000..0a2921d56344 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.26.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{6..8}) + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +src_prepare() { + # avoid pytest-xdist dep for one test + sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ + tests/pytest/test_statistics.py || die + distutils-r1_src_prepare +} + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python3.[678] ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + pytest -vv tests/cover tests/pytest tests/quality || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/hypothesis/metadata.xml b/dev-python/hypothesis/metadata.xml index 83693bdce740..8213c0853ed2 100644 --- a/dev-python/hypothesis/metadata.xml +++ b/dev-python/hypothesis/metadata.xml @@ -19,5 +19,10 @@ <remote-id type="pypi">hypothesis</remote-id> <remote-id type="github">HypothesisWorks/hypothesis</remote-id> </upstream> + <use> + <flag name="cli"> + Install a CLI tool used to write tests. + </flag> + </use> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest index f105a7969de9..163b139b54cc 100644 --- a/dev-python/node-semver/Manifest +++ b/dev-python/node-semver/Manifest @@ -1 +1,2 @@ DIST node-semver-0.7.0.tar.gz 18090 BLAKE2B 669da955b62c35be1a0fccbdce8c66c9de915c5498052858f9f0ebe6a07109947314c904b2077b4306b8fea9f1d0747ab7dcb63a803b00555320e44ea0a59081 SHA512 9e11af16ce7a9a7f2aacd77ff14c8aa574e62bc27f902860b97fda5cc8ee19f54118e90ca39241741da657b87ec2653239b0c4255570ffe4d1ad49e2c9484e74 +DIST node-semver-0.8.0.tar.gz 18449 BLAKE2B 171374808e18b1f3fc2807abb9b99ecfe18a392afbc59ad056f0524e374ef4a27e5a56acf0c3927c6f351503981d743e4e63f108bf0e5bd5eda62f04e24191d4 SHA512 665ae0dbced16e0f05306614b1577464aa1bdac666b35cf2e7ad4b8844a6814dc7e8672f0dff3043c7bd048aa455d671efd268052ac59166293b91d1dff17784 diff --git a/dev-python/node-semver/node-semver-0.8.0.ebuild b/dev-python/node-semver/node-semver-0.8.0.ebuild new file mode 100644 index 000000000000..2f21b5e2db25 --- /dev/null +++ b/dev-python/node-semver/node-semver-0.8.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) +# entry_points is present in setup.py but it is empty +DISTUTILS_USE_SETUPTOOLS=manual + +inherit distutils-r1 + +DESCRIPTION="Python version of node-semver, the semantic versioner for npm" +HOMEPAGE=" + https://pypi.org/project/node-semver/ + https://github.com/podhmo/python-semver + https://github.com/npm/node-semver +" +# 0.8.0 has no tarball on PyPi +# https://github.com/podhmo/python-semver/issues/43 +SRC_URI="https://github.com/podhmo/python-semver/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/python-semver-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index d260ae56df0c..45dbd0acf9e0 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1,4 @@ DIST phonenumbers-8.12.4.tar.gz 2269009 BLAKE2B 102630893595fa34f8e5bf3dc5122f43393e26ada216df02e843a40345aa40df83aa6fbf115d71e986a7e57e6a55bd6fd4eb4af14c4872bfe717cb0ec5be604c SHA512 5d93de2b7b6e974593659fb8909c05f2f6f8c29766deea914472b01dde38abdfc9f4f6ee8c718e2ad11e840070b350b623cb9ca58368f24cf1e03804712fa38d DIST phonenumbers-8.12.6.tar.gz 2249614 BLAKE2B 5dd062cecf424bba0263e92c847161069e998e1b1ee26e273939996dadc1cca302ee4b567f083d58791717633db2ddd6263e625db01639e7fdb61187092f26d2 SHA512 1f79e7bd469861c6100ab4ea88f0b20cb5534e97a8da39f8681b4d201d21d2bbac1948bd49c08c474cb0b129a2c1228f7c5b664dc6033e6f4d2dd79d130897d2 DIST phonenumbers-8.12.7.tar.gz 2249620 BLAKE2B 198e70c7462f27fa969a7c249d1b7cbb9a3babb3eeee9b2ab70ec6675e94a87845371b6d2fc9f339f21e3f69618f8ce7541372121008c5c6969801a503f2e6c9 SHA512 204dec64bc4087c25171e04cdb9a41295c128d1fef5df7294108e69177673c6728e11837bf7fd57fc1cc2f88bb49161f346c81f5689af99016279db4d346aa43 +DIST phonenumbers-8.12.8.tar.gz 2249617 BLAKE2B e02f851774bee9806f01b0359ea4e159c8c890a815edf45f19162dc35972aaa3c84f9e2e19a51ef3efb053d4e307a4d3a31b664a7fffc7c4ffe9a7c6c281ae86 SHA512 0897a5298b5aaee7c0775e12cbe35a6e25b85a1836d8302abc5eee7e327fc559bc06f3130c63ac5aa14207900d1615f3a7cd4137d6561855e4ad38b6e4af220f diff --git a/dev-python/phonenumbers/metadata.xml b/dev-python/phonenumbers/metadata.xml index 1ac271f98571..1a926aff217b 100644 --- a/dev-python/phonenumbers/metadata.xml +++ b/dev-python/phonenumbers/metadata.xml @@ -5,6 +5,10 @@ <email>cedk@gentoo.org</email> <name>Cédric Krier</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <stabilize-allarches/> <upstream> <remote-id type="pypi">phonenumbers</remote-id> diff --git a/dev-python/phonenumbers/phonenumbers-8.12.8.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.8.ebuild new file mode 100644 index 000000000000..979bda4a1914 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.8.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=(README.md) + +distutils_enable_tests setup.py diff --git a/dev-python/python-nbxmpp/python-nbxmpp-1.0.1.ebuild b/dev-python/python-nbxmpp/python-nbxmpp-1.0.1.ebuild index b583618bc5f9..14fba3f53b9e 100644 --- a/dev-python/python-nbxmpp/python-nbxmpp-1.0.1.ebuild +++ b/dev-python/python-nbxmpp/python-nbxmpp-1.0.1.ebuild @@ -13,5 +13,5 @@ SRC_URI="https://dev.gajim.org/gajim/python-nbxmpp/-/archive/nbxmpp-${PV}/python SLOT="0" LICENSE="GPL-3" -KEYWORDS="~alpha ~amd64 arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="" diff --git a/dev-python/quex/files/quex-0.71.0-py37.patch b/dev-python/quex/files/quex-0.71.0-py37.patch new file mode 100644 index 000000000000..9c2ed48d5495 --- /dev/null +++ b/dev-python/quex/files/quex-0.71.0-py37.patch @@ -0,0 +1,11 @@ +--- a/quex/input/code/base.py 2020-08-17 11:27:16.948578316 +0200 ++++ b/quex/input/code/base.py 2020-08-17 11:27:27.604426654 +0200 +@@ -123,7 +123,7 @@ + def set_source_reference(self, SourceReference): + self.__source_reference = SourceReference + +- @typed(Re=re._pattern_type) ++ @typed(Re=re.Pattern) + def contains_string(self, Re): return self.__check_code(lambda x: Re.search(x) is not None) + def is_empty(self): return not self.__check_code(lambda x: len(x) != 0) + def is_whitespace(self): return not self.__check_code(lambda x: len(x.strip()) != 0) diff --git a/dev-python/quex/quex-0.71.0-r1.ebuild b/dev-python/quex/quex-0.71.0-r1.ebuild new file mode 100644 index 000000000000..d759b623f432 --- /dev/null +++ b/dev-python/quex/quex-0.71.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit python-single-r1 + +DESCRIPTION="Mode Oriented Directly Coded Lexical Analyser Generator" +HOMEPAGE="https://sourceforge.net/projects/quex/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +BDEPEND="${RDEPEND} + app-arch/unzip" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-py37.patch +) + +src_prepare() { + default + sed -i \ + -e "s:@PYTHON_SITEDIR@:$(python_get_sitedir):g" \ + quex/DEFINITIONS.py || die + mkdir -p engine/codec_db/unicode || die + mv quex/engine/codec_db/database engine/codec_db/ || die + mv quex/engine/codec_db/unicode/database engine/codec_db/unicode/ || die + mv quex/code_base . || die +} + +src_install() { + default + insinto /usr/share/quex/ + doins -r engine + doins -r code_base + + python_domodule quex + python_newscript quex-exe.py quex + doman manpage/quex.1 + dodoc -r demo + insinto /etc/profile.d/ + doins "${FILESDIR}"/quex.sh +} |
