diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-27 01:44:06 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-27 01:44:06 +0000 |
| commit | 76d131064c31cfcb51214f29f803a6db111ae0b8 (patch) | |
| tree | 077d9ab832a02dfd1854c6224d405cf8c11c9d23 /dev-python | |
| parent | de14d62e73039dea6058da21ae1d601db2c4886d (diff) | |
| download | baldeagleos-repo-76d131064c31cfcb51214f29f803a6db111ae0b8.tar.gz baldeagleos-repo-76d131064c31cfcb51214f29f803a6db111ae0b8.tar.xz baldeagleos-repo-76d131064c31cfcb51214f29f803a6db111ae0b8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/hypothesis/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.38.0.ebuild | 65 | ||||
| -rw-r--r-- | dev-python/python-slugify/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-slugify/python-slugify-6.1.1.ebuild | 26 |
4 files changed, 93 insertions, 0 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 241884efaa52..49a2ba4bfbd5 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-python-6.36.2.tar.gz 9179500 BLAKE2B e627ddfbef2e0955df0f4d8a388 DIST hypothesis-python-6.37.0.tar.gz 9179770 BLAKE2B 914968515c65b52cfa7fd4908c7132c36e2b3639a48a5f9131fdf0dc9f0230f3b3e9cc47e5f45896fd37faaa6b9822f8232df6bbb4b12b1d62e8498c35ba777e SHA512 44b200cb583c006c44a551b7f0e859d193bb4ae68233ca8903bc89259b7a7b57e751458034d3c46223481e5862fb046d546c0331501fe926d645ccb0fcd2a455 DIST hypothesis-python-6.37.1.tar.gz 9179835 BLAKE2B 316b4bd4143d8bd403bac2fcc713c49c0a1f5f713d78335845f77c7ac9dac852cce367ac618999265ab4c68e848037920b2be6e18f68bd1f3d6982b1e7f5e297 SHA512 7b5e961339672cf853d181f4a3963ab753fe0bd7af599247996629de2b8e62159b3cfe6ce8663b2499e2e4e2dbdcc99fc99c5a582a73102c5637e82ce4624c64 DIST hypothesis-python-6.37.2.tar.gz 9179951 BLAKE2B 0178beee31353d94454ce289d9214153b394612f28cec52e906456cda6419b7b427213ac46ff423c1f6d853e82d737b2f9f57ae89c20481cabde2bc523a87c18 SHA512 659ddce542e26047b0dceb764588c0ffa20a096f44b742514105d4f6f933042ee29fb84897863112fabf19b83de9d357714f252f5adeb8d0557788c62b71c6e2 +DIST hypothesis-python-6.38.0.tar.gz 9180960 BLAKE2B a62cb0cb31cfe4ece8ee829207befb729aebf2be802c57b398547c87ecbd4769955c5c2919a0eb653d41cc3f4998c5326fdb184b6409d5fcb632c037df6a542f SHA512 2d57b783a71a905470ca088ebd91c0ea96be1bd76648d30d52b0b43914844712bbf3eaad54d66607b149a1238bb9a0258f920a6e262e54bed5cef36e3ca227e1 diff --git a/dev-python/hypothesis/hypothesis-6.38.0.ebuild b/dev-python/hypothesis/hypothesis-6.38.0.ebuild new file mode 100644 index 000000000000..5eb94ce96458 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.38.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +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_{8..10}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests pytest + +python_prepare() { + if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +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/python-slugify/Manifest b/dev-python/python-slugify/Manifest index 8ab1a8877e4c..13aeee21859f 100644 --- a/dev-python/python-slugify/Manifest +++ b/dev-python/python-slugify/Manifest @@ -1,3 +1,4 @@ DIST python-slugify-5.0.2.tar.gz 11728 BLAKE2B 701fb3f679cd4f714b5c57c14fb8cbfefa5b8268e9c4b877dd1e558e8a7dac325d69519b8e666043b70540908dcb250f561cebf0c5f444f9a3cfae34d97456b1 SHA512 79cdd1d0312c9e34b07dca2e898f177a85b31d3f290403375032ae962df61f3a9c4167f4bdf10f47afd17d544731d6961810f8a081ef615d76d8758c1207e6b7 DIST python-slugify-6.0.1.tar.gz 12184 BLAKE2B ecc39ad73ba4bf68a630c105b22c234c9f8089c5063457c02b21ae5bbe5c021741ce754eabec51bb125ae549274b26f6cf8d986b66ce0ede5a653e70b4528712 SHA512 b97aba9f3b74009a802b1a7bd356d1eb27d239a05d8617c8f0107391e9f09e9a7cb6b45437755a1c86c4eed966e8975f74f6b760e17090d2c56e4db5935c0b69 DIST python-slugify-6.1.0.tar.gz 13279 BLAKE2B ecc51c97638f675573576457f6e6dee14fd2f07b9292e3a32134215887adf945e6b7cc0e373b558c7311a49cfbac1b760191b3e77597a86dac1ea48527d549ac SHA512 4a274d5490bbddb8a600357200d44621cf3304c42a303148156cc732650431e76466099e4eee308e81c881b0da4e39b92146561cfd909a796e153411b22405c9 +DIST python-slugify-6.1.1.tar.gz 13259 BLAKE2B 2f85061775d9e921bf5679ab47d9a5b4fed2d2e1703aa2717e21c1d43fd1b93ef5d7060151bb4b473cd901aef16d3d905d2ca5004ae7bc61e906464bb52494a2 SHA512 2ffe8420b2f0504c57f42bf20aa0145ae521dab8d1bbefcaff1a815aa04377c7eb48eab929890915a9c9632a5c1cac4d3e7e093dcdfdda59f8ecee1ab787cbb7 diff --git a/dev-python/python-slugify/python-slugify-6.1.1.ebuild b/dev-python/python-slugify/python-slugify-6.1.1.ebuild new file mode 100644 index 000000000000..2b037caf5232 --- /dev/null +++ b/dev-python/python-slugify/python-slugify-6.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A Python Slugify application that handles Unicode" +HOMEPAGE=" + https://github.com/un33k/python-slugify/ + https://pypi.org/project/python-slugify/ +" +SRC_URI=" + https://github.com/un33k/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND="dev-python/text-unidecode[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest |
