diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-03 13:41:53 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-03 13:41:53 +0000 |
| commit | 8d273b21c2e9e71d88fcda2df189058591442ad2 (patch) | |
| tree | 7691b68bdb23da9f247ca43cfc62e3c78eb97b09 /dev-python | |
| parent | 133af1c527855e4d3916295d16fc557a98cd7849 (diff) | |
| download | baldeagleos-repo-8d273b21c2e9e71d88fcda2df189058591442ad2.tar.gz baldeagleos-repo-8d273b21c2e9e71d88fcda2df189058591442ad2.tar.xz baldeagleos-repo-8d273b21c2e9e71d88fcda2df189058591442ad2.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
36 files changed, 595 insertions, 30 deletions
diff --git a/dev-python/Faker/Faker-9.8.0.ebuild b/dev-python/Faker/Faker-9.8.0.ebuild new file mode 100644 index 000000000000..1f1f09ada79c --- /dev/null +++ b/dev-python/Faker/Faker-9.8.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE="https://github.com/joke2k/faker" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] + !dev-ruby/faker" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/random2[${PYTHON_USEDEP}] + dev-python/validators[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 26409f10e5aa..ce7d9a68a738 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -2,3 +2,4 @@ DIST Faker-9.3.1.tar.gz 1169930 BLAKE2B 464f092a5014ebfe2d6c1a83f8d30f13507835a3 DIST Faker-9.5.0.tar.gz 1176231 BLAKE2B 5b1fbdec6952ee18c4f7243e1776cc5b44b99b2120f9fe7dcf3ad6a633b46644645e5f836456a969b4861ab672f59ac4b14268bee55b0168a8cddbe96774f481 SHA512 a42a26583432f85466e5791a98ae91e168e2a3bbb04cc1fcd90c9c5d76d1d9e4de709852b832e1ebac01c365e7a6598e707cbf7c36799f97f080cb0ce3f60cdd DIST Faker-9.6.0.tar.gz 1171903 BLAKE2B 2d7a7fae74d25cb67a339400952e9b783d26fb0b623bf75543e1b3d2c83dde86a0cbecb462ad236a6799e6f2527fc6fdcef22996128c9d6a8e0a6193b9273b6d SHA512 6b68188ab6996d593fd029b2e62f3d2c0f22259ffa737c6700cf032b0528c9809699c57a849c34e0c40e37d6784155309832a0a795c8775d114d3d1033e9b3fe DIST Faker-9.7.1.tar.gz 1175336 BLAKE2B 0af66ad2b04a5ab97bd13945f6b0e2b39ea1ad3f3a9c11b6f8e86718ac27636e19a1ddcc79d202bc820b3fe23ae17cd604e8bc5a5a34904c71efd654c3612ec4 SHA512 8b88a7b04ac37d7e122045e0cbad06c929a4973cf8c88f71546bb3d1e955a704a863d3ac999eaaeae801edc1154d98f3f14a657e7c6b99bee5fee2d1b68a0613 +DIST Faker-9.8.0.tar.gz 1198218 BLAKE2B eb021752b0e085fbe3732039489ade33b9657603e44c5ea0d83b95cdde98fed07e1f8552f40fcf5623d9803a65d218e3f07c212fd2abf21d1b3734ffac31f700 SHA512 451111507876c41a62efec7f6e3628beb46d56104c626c112cdec6f335862bd8f3a1f7f64a40cdf793125fbf43f65f710140a7e129ed5eedbb28915a91f8b312 diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 2bb6fd7bdfb5..27d7ec05d5d3 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1 +1,2 @@ DIST aws-sam-translator-1.39.0.tar.gz 974687 BLAKE2B 1cde943fe187bb4d2fcf64a8417fc7d2f0c8226e2cd3a583ed14569e0ef39dfb6a718971552b577cbb4858272c33054a04a76cfc61c0dfcde303e6578a2fe534 SHA512 010461ecc2ec7131af1a9f078abbc36594e8358307ffc397c2c1daf433becea9d9c5a5afd8e47e62c6c618a700ca957f559401e02f7c772271f70a7bc2311b8a +DIST aws-sam-translator-1.40.0.tar.gz 988864 BLAKE2B 5a414bde5ceeb016267c64742e8c8dabf1460471261a84464ab2bffa4b5553eb042ffe2b4ac91b470316f64a68043e27f652b2cc5aabc8a83cf61faa89d7af51 SHA512 99c578cbe4100c30d2e6357dbb35aaf9e93180b8fce27f1b8400253153fef7d18487b5f67e0824920c6adb8bfdfe763a8fd893b3ac4ef3f781673f4761866e0e diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.40.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.40.0.ebuild new file mode 100644 index 000000000000..c9817fe01cf8 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.40.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE="https://github.com/aws/serverless-application-model + https://pypi.org/project/aws-sam-translator/" +SRC_URI="https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/serverless-application-model-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/boto3-1.17[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/six-1.11[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dependency + sed -r -e 's:--cov(-[[:graph:]]+|)[[:space:]]+[[:graph:]]+::g' \ + -i pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest index 96014e1c654a..ece7afdff601 100644 --- a/dev-python/backrefs/Manifest +++ b/dev-python/backrefs/Manifest @@ -1,2 +1,3 @@ DIST backrefs-5.0.1.tar.gz 4120179 BLAKE2B 2cd8fb84c7e416be330cb9afdb894f6f8574b66698acc1d63abae8ff5bfcccd4bf29b724dcf2a25a637ea0fde46865b18a5ff1bfbff955a01798037752dc3d97 SHA512 e2212bd7dce017308fa558ccfe7faf617ed6107523db8b2e4a3ad7b60aa1d7aabdaea2632abd6a3f1f022eac949d7036a7afe522b5f086ef1888a0e67e834894 DIST backrefs-5.1.tar.gz 5216647 BLAKE2B 060d153f0d5d674e7b2e6f744a9b283d10f9f47fb355fe5d5703cd83b2507852d606d51cdefcf37617ee12f7bc71d487bc50254763415c02422524da9d71aae6 SHA512 b5123e46f0bf2108060c7e4f350538159c08ee7fe3b07bbed44aaadc0481047262af80b7bf08066db423a86b4e8660a91c9e03ea41a7bb039c3d17ae3faa81fd +DIST backrefs-5.2.tar.gz 5220528 BLAKE2B b786df162f37406c36b99d9d4d36ed439837dae2f1d138238d5afc6e9ab108f1c4be1802606e14892ae08d7e3878f5c5068a6923de14d13ab89ef6749fd69b6e SHA512 fd68cd90deaf299a3bb21f70126db51f537e6dc1126fa38beda63901dccfe4db81842aea23eb20ac9311bfef74ff2339ebffdb8cdbcfed197c3ef0fd5b3e793b diff --git a/dev-python/backrefs/backrefs-5.2.ebuild b/dev-python/backrefs/backrefs-5.2.ebuild new file mode 100644 index 000000000000..efef6a087d20 --- /dev/null +++ b/dev-python/backrefs/backrefs-5.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-git-revision-date-localized-plugin + ~dev-python/mkdocs_pymdownx_material_extras-1.0.7 + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-material + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wrapper around re or regex that adds additional back references" +HOMEPAGE=" + https://github.com/facelessuser/backrefs/ + https://pypi.org/project/backrefs/ +" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 1f46a89dc2bd..de7de4b65c72 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,3 +1,4 @@ DIST google-api-core-2.0.1.tar.gz 134658 BLAKE2B 0fda61be3b069454b305656f7a5a9243467f4e129e2db661e997fde850d416a50df803af6e7e9d041b8473e5f1abd35f6d5a9b25067133be28bed90ec1cca7e4 SHA512 297af05cba4919423e15844ccddb821fd65076f787bd01f24022d8393fbf45cf276611ab471be17950d7fad4e58f9b823517a8aeeec931df5b1bb37c38fe8ec9 DIST google-api-core-2.1.0.tar.gz 138173 BLAKE2B 3ba5b5433a8a29ddf180315daed5587d113bde410697eb5f90713573f41b15b89f0a52e387515751c7702008b150ccc8b90cd7480ac0a26a5f9c73f94443915a SHA512 67688f2defa00df8039d964edeb2cb94aeab5124794fe95d1cba8b9e79aa57b7a191a4b51f91c7d7e293c7a550130cac294926552e47545a0f8222003d0ba076 DIST google-api-core-2.1.1.tar.gz 138720 BLAKE2B 218adf5ce8f796868d165dfc449fa2aec135c4cc13f74342c3f9f5790e56e8661d38409aea68c0e3b3b2d42929ab7079b30832a1be675fe00d5b7a426d84e64b SHA512 38f6f03b9702234b6d0d41f064ae2c01b41d5dc2328bd4da886decf3d437db53fe194284b399dfadebbf4767cfb0aba804ec67911982d24c72f0a2464370f050 +DIST google-api-core-2.2.2.tar.gz 140701 BLAKE2B 4e90db4311fc88d3fc8e29d6d8f11ae1424000c0e293f219d679984ec4a2c1bbbaf72d734b937d6916302f3a9a8b1cb369dd719972f4eb2d3f7264bf16ffbc7f SHA512 9b307c8ebd224b7614bd1d9f48d752852929b726c04df24f81e0b1b601f9a14d10654e9ef53b6a5ab677e8e57256f87b8683fa4dde0585f9c2e6d313d29d53fe diff --git a/dev-python/google-api-core/google-api-core-2.2.2.ebuild b/dev-python/google-api-core/google-api-core-2.2.2.ebuild new file mode 100644 index 000000000000..b678fbba508f --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.2.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE="https://github.com/googleapis/python-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html" +SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P//google/python}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/namespace-google[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/googleapis-common-protos[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] +" +# grpcio support is broken if grpcio-status is not installed, +# and we do not package the latter +BDEPEND=" + test? ( + !!dev-python/grpcio + dev-python/mock[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest + +EPYTEST_DESELECT=( + # TODO: package proto-plus + tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore + tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting +) + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild index 7602d879caea..f0739995529c 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.29.0.ebuild @@ -23,11 +23,8 @@ RDEPEND=" >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] <dev-python/uritemplate-5[${PYTHON_USEDEP}] " -# grpcio support is broken if grpcio-status is not installed, -# and we do not package the latter BDEPEND=" test? ( - !!dev-python/grpcio dev-python/mock[${PYTHON_USEDEP}] dev-python/oauth2client[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest index 4602373c3dd4..734fe66bf039 100644 --- a/dev-python/gssapi/Manifest +++ b/dev-python/gssapi/Manifest @@ -1 +1,2 @@ DIST gssapi-1.6.12.tar.gz 1064583 BLAKE2B 0daae73e37d1f101f77030db4b4f5d78ec720157d25542c234da22ae4615b329ab54379b9a7f76f4c9340c849a1ec3c7d0ed3b4b5bad45411f807f8e21b45f1e SHA512 bfc6154dbed065227d1022218329ace3fde228173d1695c10e293b6c01a36030781afcea50cdd41ace243b6b783542fe828d027e79d4a79ea597b84ea578f90f +DIST gssapi-1.7.2.tar.gz 1227616 BLAKE2B f03a1a2833359d8317fd08fcdeaeb69c54180dca82466db46cbd7110272f5f8ad6f7977095b539655c2a1ef9dea979d1ef229d03cc4de6317d579633f51553a7 SHA512 2d14c286e50c3dda3a2e58588860abbda249fa3ff4fe8e7a759cd8bb009ca7d20a6a06cf9b5b7eea42dce4ba740c8a8cebf190d085ffa3e66ec79882bda882ed diff --git a/dev-python/gssapi/gssapi-1.7.2.ebuild b/dev-python/gssapi/gssapi-1.7.2.ebuild new file mode 100644 index 000000000000..257c7a4708d5 --- /dev/null +++ b/dev-python/gssapi/gssapi-1.7.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low and high level wrappers around the GSSAPI C libraries" +HOMEPAGE="https://github.com/pythongssapi/python-gssapi https://pypi.org/project/gssapi/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + virtual/krb5 +" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + virtual/krb5 + test? ( + dev-python/k5test[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cp -r -l -n gssapi "${BUILD_DIR}/lib" || die + cd "${BUILD_DIR}/lib" || die + epytest +} diff --git a/dev-python/k5test/Manifest b/dev-python/k5test/Manifest new file mode 100644 index 000000000000..4a74e0bb330d --- /dev/null +++ b/dev-python/k5test/Manifest @@ -0,0 +1 @@ +DIST k5test-0.10.1.tar.gz 13664 BLAKE2B 4be24a8c9b154f5ec7b83b6743d0f756cb813bdfe4496c6f8ed873a2fc5a725c17b34f7b243d106d7a985aa53351f9bdc354fabba6a8c5fa3d25927513441cb4 SHA512 eaf451f0a932fdb8758f23e17ec52b2c1617074f186dddfba1d9c6844291fb2f4b003e05f4a0e02ce1bae37ee4251ea8295d2ebc8d9002c83d3179000fa4785e diff --git a/dev-python/k5test/k5test-0.10.1.ebuild b/dev-python/k5test/k5test-0.10.1.ebuild new file mode 100644 index 000000000000..1da35cff3ab8 --- /dev/null +++ b/dev-python/k5test/k5test-0.10.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Library for testing Python applications in Kerberos 5 environments" +HOMEPAGE="https://pypi.org/project/k5test/ https://github.com/pythongssapi/k5test" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/k5test/metadata.xml b/dev-python/k5test/metadata.xml new file mode 100644 index 000000000000..adb2214d53ef --- /dev/null +++ b/dev-python/k5test/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">k5test</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/krb5/Manifest b/dev-python/krb5/Manifest new file mode 100644 index 000000000000..ef4472eb7e6a --- /dev/null +++ b/dev-python/krb5/Manifest @@ -0,0 +1 @@ +DIST krb5-0.2.0.tar.gz 1086940 BLAKE2B af0028f91fc86bba3a450cfb09d1da31d976670f844f46b6a3c7dbddeaa8a4d4cffcde21fa076b5ae5f740052cd60b3872d10174eae3613181f9a3f4d6c9841f SHA512 f2e8558f5800467e362798092f1f37268558d9890491f1d808b51ac2f5372f0b495ce19d1addc74da663eef1baf838ac514b74b5cbc5cf262925bdca2d7231a9 diff --git a/dev-python/krb5/krb5-0.2.0.ebuild b/dev-python/krb5/krb5-0.2.0.ebuild new file mode 100644 index 000000000000..a29fc7428b34 --- /dev/null +++ b/dev-python/krb5/krb5-0.2.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Kerberos API bindings for Python" +HOMEPAGE="https://pypi.org/project/krb5/ https://github.com/jborean93/pykrb5" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + virtual/krb5 +" +BDEPEND="test? ( dev-python/k5test[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/krb5/metadata.xml b/dev-python/krb5/metadata.xml new file mode 100644 index 000000000000..8be9b3d7eba2 --- /dev/null +++ b/dev-python/krb5/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">krb5</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/libpillowfight/Manifest b/dev-python/libpillowfight/Manifest index 0255937587a8..b37ea940102b 100644 --- a/dev-python/libpillowfight/Manifest +++ b/dev-python/libpillowfight/Manifest @@ -1 +1,2 @@ +DIST libpillowfight-0.3.0_p20210816.tar.gz 89491019 BLAKE2B 24a658ce461928750582560ef27fbc1ea233bb7c6290053bee7ab3437816fd0e9d7933e36a7a90c75706bdc17024200d16a17ec81c0c30563f043e6d15cc074e SHA512 a731a7d8c8492f5f6229315c8ff48bcdf215acd501d1a5f726f60d6417f77d04b702579d972aaa90f9d01d27b7b167b47f15f435c0fe79598aedb55ac397835b DIST pypillowfight-0.3.0.tar.gz 41065 BLAKE2B 8e945bb5a96d7ebd610435fd868d12df371c29fbc26a9c57152988a990ad83daf70382bb94e8b5591144e18d6c54702c0a578ea5f29044fcdadd169effcf933c SHA512 2782030eabb665d20cf49de584220fb65417616c3a0e2a0376c91dc2c228b571768ea3a248ebd5ec4d244a1b825e98609a35b736f7f2fdbb3f674b08e891d9a7 diff --git a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild new file mode 100644 index 000000000000..4ef2812d01c1 --- /dev/null +++ b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild @@ -0,0 +1,38 @@ +# 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 + +COMMIT="50d965879eb89fdef9be09d6e934329486ff585d" + +DESCRIPTION="Small library containing various image processing algorithms" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/${PN}/-/archive/${COMMIT}/${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +distutils_enable_tests nose + +python_prepare_all() { + sed -e "/'nose>=1.0'/d" -i setup.py || die + cat > src/pillowfight/_version.h <<- EOF || die + #define INTERNAL_PILLOWFIGHT_VERSION "$(ver_cut 1-3)" + EOF + distutils-r1_python_prepare_all +} + +python_test() { + cp -r -l -n tests "${BUILD_DIR}/lib" || die + cd "${BUILD_DIR}/lib" || die + distutils-r1_python_test + rm -r tests || die +} diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest index 136ffe137d71..a6621daf5178 100644 --- a/dev-python/natsort/Manifest +++ b/dev-python/natsort/Manifest @@ -1 +1,2 @@ DIST natsort-7.1.1.tar.gz 142749 BLAKE2B dffd5b7b18ac49653d4d65ae1335c85d441748903aa983df092778476988cf0ca59c08526ee0da1761fce1afe4849d4c9a9e2f3e0c5400ebca2478781d0986dc SHA512 1903c933c6203ef0cd194ea444d79276b79ec385728a92b6e73d1698abc8e1351e96ed8ea4ae5f9f413ef6daecfd269a4d0de74c45eedff682fe929d8f977f30 +DIST natsort-7.2.0.tar.gz 144338 BLAKE2B cba2a547813b56c3f42a6d9526be59ebda0e12f964ce72e166dec825ceab923b06f7be768e4071f9380e7b8c2a2d24a5b9af0ad0752e48655046bca44fd03ab9 SHA512 9490d4f3f304834a82f91fc7f215a9212e5e4a2c78e2d0943d886cff2f50c581171bd27edc8ceec23981ebaf8d13d3be2bf1954439dd76aef9a2cc9983b1968a diff --git a/dev-python/natsort/natsort-7.2.0.ebuild b/dev-python/natsort/natsort-7.2.0.ebuild new file mode 100644 index 000000000000..2d4ba9863354 --- /dev/null +++ b/dev-python/natsort/natsort-7.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Natural sorting for Python" +HOMEPAGE="https://pypi.org/project/natsort/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/prettytable/prettytable-2.3.0.ebuild b/dev-python/prettytable/prettytable-2.3.0.ebuild index 46bbb4ad7c88..abc42be5443d 100644 --- a/dev-python/prettytable/prettytable-2.3.0.ebuild +++ b/dev-python/prettytable/prettytable-2.3.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~sparc ~x86" +KEYWORDS="~amd64 ~riscv ~sparc ~x86" RDEPEND=" dev-python/wcwidth[${PYTHON_USEDEP}] diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest new file mode 100644 index 000000000000..9bde7d91ef7e --- /dev/null +++ b/dev-python/pyspnego/Manifest @@ -0,0 +1 @@ +DIST pyspnego-0.3.1.tar.gz 308888 BLAKE2B 23d77718bcb3deb807764ef3098c8f25b487c18b022ba9e48bc46bbab8f77de82ddc4a2bd66485041b1012958304d77236f54e9f87150e68631045bd50ca2a0a SHA512 2f46c727dbb29e1b9a7e4912c14fe49f47595ef7134358eae03e0645cce927e69e3612d11b1b5986fbb945f684e87d6eddf08bc6153af9d29325718a6207e3a1 diff --git a/dev-python/pyspnego/metadata.xml b/dev-python/pyspnego/metadata.xml new file mode 100644 index 000000000000..42bff17591c5 --- /dev/null +++ b/dev-python/pyspnego/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pyspnego</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pyspnego/pyspnego-0.3.1.ebuild b/dev-python/pyspnego/pyspnego-0.3.1.ebuild new file mode 100644 index 000000000000..b6d2fa4bc324 --- /dev/null +++ b/dev-python/pyspnego/pyspnego-0.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" +HOMEPAGE="https://pypi.org/project/pyspnego/ https://github.com/jborean93/pyspnego" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/gssapi[${PYTHON_USEDEP}] + dev-python/krb5[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "Kerberos authentication" "dev-python/gssapi dev-python/krb5" + optfeature "YAML output support" "dev-python/ruamel-yaml" +} diff --git a/dev-python/pytest-lazy-fixture/pytest-lazy-fixture-0.6.3.ebuild b/dev-python/pytest-lazy-fixture/pytest-lazy-fixture-0.6.3.ebuild index ce990c95ee53..bbd1b430e273 100644 --- a/dev-python/pytest-lazy-fixture/pytest-lazy-fixture-0.6.3.ebuild +++ b/dev-python/pytest-lazy-fixture/pytest-lazy-fixture-0.6.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~sparc x86" +KEYWORDS="amd64 ~riscv ~sparc x86" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" diff --git a/dev-python/python_orocos_kdl/Manifest b/dev-python/python_orocos_kdl/Manifest index 4e6fd68874c4..c36020bca434 100644 --- a/dev-python/python_orocos_kdl/Manifest +++ b/dev-python/python_orocos_kdl/Manifest @@ -1 +1,2 @@ DIST orocos_kinematics_dynamics-1.5.0.tar.gz 251515 BLAKE2B 53c14354b0833867b6fd030cde91c9524b6f0537ea0d0f3977e7aeb8482030edd5723a571030e8b78e4d6d01eba38c6a8e5c49d66c49c4b1b0f2e7a3d8159c74 SHA512 5fc9c336d6ed31ad59a5bdf6ee06444cac29beae090b9026b34f35a3cb4cdf1cd6c33af621205b8d6a5201070e679531c8b5bbdeb8a91cd1d8061153b0e47e49 +DIST orocos_kinematics_dynamics-1.5.1.tar.gz 251074 BLAKE2B 6be8171c3ce3bc6613fc342b8d3c772de766bfab78c5530364339ce2f9c4a37e6bc5519482f30939b210d9cb9e7899b3da66784a5c301653493212bc690917a8 SHA512 9774b76b755ea81168390643813789783f60d0b1cdb46cd250e3e0d27f75a6cf2fd3bfd2081c04e30a14ff4fc70d0080c9b43b82ee181c2dda82f23f052b338d diff --git a/dev-python/python_orocos_kdl/python_orocos_kdl-1.5.1.ebuild b/dev-python/python_orocos_kdl/python_orocos_kdl-1.5.1.ebuild new file mode 100644 index 000000000000..9fc461f662dc --- /dev/null +++ b/dev-python/python_orocos_kdl/python_orocos_kdl-1.5.1.ebuild @@ -0,0 +1,57 @@ +# 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 python-r1 cmake + +DESCRIPTION="Python bindings for KDL" +HOMEPAGE="https://www.orocos.org/kdl" +if [[ ${PV} = *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics" + S="${WORKDIR}/${P}/python_orocos_kdl" +else + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm" + S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/python_orocos_kdl" +fi + +# pybind11 strips targets at build otherwise... +# https://bugs.gentoo.org/806857 +CMAKE_BUILD_TYPE=RelWithDebInfo + +LICENSE="LGPL-2.1" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=sci-libs/orocos_kdl-1.4.0:= + dev-python/pybind11[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -e 's/find_package(catkin/find_package(NoTcatkin/' \ + -e 's/add_subdirectory(pybind11/find_package(pybind11/' \ + -e 's/dist-packages/site-packages/' \ + -i CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + python_foreach_impl cmake_src_configure +} + +src_compile() { + python_foreach_impl cmake_src_compile +} + +src_test() { + python_foreach_impl cmake_src_test +} + +src_install() { + python_foreach_impl cmake_src_install +} diff --git a/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild b/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild index 9332f5ac81ac..9fc461f662dc 100644 --- a/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild +++ b/dev-python/python_orocos_kdl/python_orocos_kdl-9999.ebuild @@ -2,32 +2,28 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit python-r1 cmake -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-r3" +DESCRIPTION="Python bindings for KDL" +HOMEPAGE="https://www.orocos.org/kdl" +if [[ ${PV} = *9999 ]] ; then + inherit git-r3 EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics" + S="${WORKDIR}/${P}/python_orocos_kdl" +else + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm" + S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/python_orocos_kdl" fi # pybind11 strips targets at build otherwise... # https://bugs.gentoo.org/806857 CMAKE_BUILD_TYPE=RelWithDebInfo -inherit ${SCM} python-r1 cmake - -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -else - KEYWORDS="~amd64 ~arm" - SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" -fi - -DESCRIPTION="Python bindings for KDL" -HOMEPAGE="https://www.orocos.org/kdl" LICENSE="LGPL-2.1" SLOT="0" -IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" @@ -36,12 +32,6 @@ RDEPEND=" dev-python/pybind11[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" -if [ "${PV#9999}" != "${PV}" ] ; then - S=${WORKDIR}/${P}/python_orocos_kdl -else - S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/python_orocos_kdl -fi - src_prepare() { sed -e 's/find_package(catkin/find_package(NoTcatkin/' \ -e 's/add_subdirectory(pybind11/find_package(pybind11/' \ diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest index 2eca461d5cb2..18895a00c135 100644 --- a/dev-python/qtawesome/Manifest +++ b/dev-python/qtawesome/Manifest @@ -1 +1,2 @@ DIST QtAwesome-1.0.3.tar.gz 878811 BLAKE2B f4392caf940ffecabf4848e892226a0871686d34a2190e35c4b11a0803a006ca0a9bfb09b3de03f7baba6777eec40ede30e35aa702bc83d9eacfd45cdde207aa SHA512 90ff132034ccc21c358b341e21aa848c34dac1c10e41720f57870f6c73fa21d1da944e4ca2ce2ded034c9edd85679181f0bd7a6a949f46a582a4402a620f2849 +DIST QtAwesome-1.1.0.tar.gz 2277438 BLAKE2B cda30636fb271da13a5c146cf84971ca10cc0bb527235319fe289730ac859dd4e23c679b963f4c0a65c26f83d2dfaac33fa0907f8ca64bd6d5a346d9ecbde30d SHA512 3fcd4704a57a52f1f46a0a55bc52255d2d600ff407a3c568da3e4bdc53d74153199869b4ea7bfaf349373fa876a950cae028cc7c87bc2d395b0aacbb64309407 diff --git a/dev-python/qtawesome/metadata.xml b/dev-python/qtawesome/metadata.xml index 05de96a82d5e..aa7f5c8a9db1 100644 --- a/dev-python/qtawesome/metadata.xml +++ b/dev-python/qtawesome/metadata.xml @@ -2,6 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="person"> <email>grozin@gentoo.org</email> <name>Andrey Grozin</name> </maintainer> @@ -9,10 +13,6 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> <longdescription lang="en"> QtAwesome enables iconic fonts such as Font Awesome and Elusive Icons in PyQt and PySide applications. diff --git a/dev-python/qtawesome/qtawesome-1.1.0.ebuild b/dev-python/qtawesome/qtawesome-1.1.0.ebuild new file mode 100644 index 000000000000..65af259f15ab --- /dev/null +++ b/dev-python/qtawesome/qtawesome-1.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 virtualx + +MY_PN="QtAwesome" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Enables iconic fonts such as Font Awesome in PyQt" +HOMEPAGE="https://github.com/spyder-ide/qtawesome/ https://pypi.org/project/QtAwesome/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-fonts/fontawesome + dev-python/QtPy[pyqt5(+),gui,${PYTHON_USEDEP}] +" + +DEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source + +src_test() { + virtx python_foreach_impl python_test +} + +python_test() { + # Tests fail with pyside2, so depend on QtPy[pyqt5] and explicitly run + # the tests with pyqt5 + PYTEST_QT_API="pyqt5" epytest +} diff --git a/dev-python/requests-kerberos/Manifest b/dev-python/requests-kerberos/Manifest index 19dd19b6f1bd..3ced0312a4a2 100644 --- a/dev-python/requests-kerberos/Manifest +++ b/dev-python/requests-kerberos/Manifest @@ -1 +1,2 @@ DIST requests-kerberos-0.12.0.tar.gz 21579 BLAKE2B 297cbecb0fc3508f5f62440c5860dcd94eeb077e68757c0646e7e3bec65cd34e19212b9992dad491ce0adeb91234db533528936f740599e42ff439f78af103ba SHA512 b925b5f9f6753e87368dce451927df09568d0d6126d4ae8514bbd99a794d983e32298b92b6239be9f95595483e2682259cf165c6997d17d9cea64a81d4af1a06 +DIST requests-kerberos-0.13.0.tar.gz 20882 BLAKE2B 17dd394165d085d1f47661f87648c9b9104268f0b3c2b0ea68cbb2624e42886c1cba65096b2736b4059e3cf0b387cb0e991a66ce49bf232b965f5e6b5f8f7e17 SHA512 f6ede080ef1dc3a6e0400e401f4627b294c1d660b62bcbaab518d27f7647bc53cbd6ca2a33ba865388a7a5dc16c3b9feeed779f3a1d6783f556f8c9e580180e9 diff --git a/dev-python/requests-kerberos/requests-kerberos-0.13.0.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.13.0.ebuild new file mode 100644 index 000000000000..45c4f365f93a --- /dev/null +++ b/dev-python/requests-kerberos/requests-kerberos-0.13.0.ebuild @@ -0,0 +1,31 @@ +# 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 + +HOMEPAGE="https://github.com/requests/requests-kerberos/" +DESCRIPTION="A Kerberos authentication handler for python-requests" +SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] + dev-python/pyspnego[${PYTHON_USEDEP}] + dev-python/gssapi[${PYTHON_USEDEP}] + dev-python/krb5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index f72ef09386d9..de2f81d5d20a 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1 +1,2 @@ DIST wcmatch-8.2.tar.gz 113537 BLAKE2B d1fe53f7d2394af31750c0b98451749201b1adbd8d00a734418afd8e208a9480b913059f78f62016be2fc2109813406c096f8ab60973a716b6ca275377551281 SHA512 d56d868ec0578ae59eb5f39ff17005faed13162141e3ced15c60d8de5f8e8b1a16eaf66e7c73cffdbd288b94db57843112624de8e5b588d26a5e46d4edb72168 +DIST wcmatch-8.3.tar.gz 116600 BLAKE2B 8576a546278a69ba46af262bc925370e6d8b1828975d54fe3fe1a2e39fc8456134c7f7986e1674883ca0f0298c223be7efc67c7296a29d9a4f1b64e42614ce17 SHA512 64cd84e69ceb6c5953f281711d026540ac198256cda3ca32c90d2acb01b18c93ceaebd3440b395c3e77fc7ec38f350821b0095518ab5c065e698cfe0f2df4c1b diff --git a/dev-python/wcmatch/wcmatch-8.3.ebuild b/dev-python/wcmatch/wcmatch-8.3.ebuild new file mode 100644 index 000000000000..ccc5fcc94b14 --- /dev/null +++ b/dev-python/wcmatch/wcmatch-8.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + ~dev-python/mkdocs_pymdownx_material_extras-1.0.7 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/backrefs-4.1[${PYTHON_USEDEP}] + >=dev-python/bracex-2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} |
