diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-07 19:27:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-07 19:27:49 +0000 |
| commit | e19fc97550097ec038083daf59f27e6db0976d8d (patch) | |
| tree | 1a47ba19bb420d34ae78dfc97d6ba17bf7f4a44b /dev-python | |
| parent | ecfc8544d398c153d4ea1438242140d6de34b15f (diff) | |
| download | baldeagleos-repo-e19fc97550097ec038083daf59f27e6db0976d8d.tar.gz baldeagleos-repo-e19fc97550097ec038083daf59f27e6db0976d8d.tar.xz baldeagleos-repo-e19fc97550097ec038083daf59f27e6db0976d8d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/cloudflare/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cloudflare/cloudflare-2.19.2.ebuild | 68 | ||||
| -rw-r--r-- | dev-python/cloudflare/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/importlib-metadata/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/importlib-metadata/importlib-metadata-7.0.2.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/jaraco-context/jaraco-context-5.3.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/jaraco-test/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/jaraco-test/jaraco-test-5.3.0.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/jsonlines/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/jsonlines/jsonlines-4.0.0.ebuild | 35 | ||||
| -rw-r--r-- | dev-python/jsonlines/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/portend/portend-3.2.0.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/tempora/tempora-5.5.1.ebuild | 2 |
14 files changed, 130 insertions, 95 deletions
diff --git a/dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild b/dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild index 00f453f7066d..7c897e4324d5 100644 --- a/dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild +++ b/dev-python/backports-tarfile/backports-tarfile-1.0.0.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~x86" src_configure() { grep -q 'build-backend = "setuptools' pyproject.toml || diff --git a/dev-python/cloudflare/Manifest b/dev-python/cloudflare/Manifest new file mode 100644 index 000000000000..32f976d4d6b7 --- /dev/null +++ b/dev-python/cloudflare/Manifest @@ -0,0 +1 @@ +DIST cloudflare-2.19.2.gh.tar.gz 145051 BLAKE2B cd7c9d9352b055b115af443341dcc4d0a446aaf1ac7b7f8030dce0ff19da185b1effc9a679b8018920ade98cafaaf599af8aea8c57a924e59eb40670a3854b70 SHA512 eac9601f9cb9ea5dc140e48fb0f0e042396f6a7ec354f18b815d6c51094799dc3f25e1e69e78f87ec5c612f4304d15f779090962a8f96282d9b2fe8a9abfb690 diff --git a/dev-python/cloudflare/cloudflare-2.19.2.ebuild b/dev-python/cloudflare/cloudflare-2.19.2.ebuild new file mode 100644 index 000000000000..8225717c2578 --- /dev/null +++ b/dev-python/cloudflare/cloudflare-2.19.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517="setuptools" +inherit distutils-r1 + +DESCRIPTION="Python wrapper for the Cloudflare v4 API" +HOMEPAGE="https://pypi.org/project/cloudflare/" +#SRC_URI="https://files.pythonhosted.org/packages/9b/8c/973e3726c2aa73821bb4272717c6f9f6fc74e69d41ba871bdf97fc671782/${P}.tar.gz" +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/cloudflare/python-cloudflare/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${P}" +LICENSE="MIT" +SLOT="0" +DEPEND="dev-python/jsonlines[${PYTHON_USEDEP}]" +RDEPEND="( ${DEPEND} + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] )" +PROPERTIES="test_network" #actually sends many test requests +distutils_enable_tests pytest +KEYWORDS="~amd64 ~arm64" +RESTRICT="test mirror" #mirror restricted only because overlay + +python_prepare_all() { + # don't install tests or examples + sed -i -e "s/'cli4', 'examples'/'cli4'/" \ + -e "s#'CloudFlare/tests',##" \ + setup.py || die + + distutils-r1_python_prepare_all +} +python_test() { + pushd CloudFlare/tests + if [ -z "${CLOUDFLARE_API_TOKEN}" ]; then + ewarn "Skipping some tests which require an actual cloudflare api token" + ewarn "To run them, provide the token in the environment variable CLOUDFLARE_API_TOKEN" + ewarn "The permissions needed are zone dns edit and user details read" + local EPYTEST_IGNORE=('test_dns_records.py' 'test_radar_returning_csv.py' + 'test_dns_import_export.py' 'test_load_balancers.py' 'test_log_received.py' + 'test_rulesets.py' 'test_urlscanner.py' 'test_paging_thru_zones.py' + 'test_purge_cache.py' + 'test_graphql.py' 'test_waiting_room.py' 'test_workers.py' 'test_cloudflare_calls.py' ) + # these test(s) need an api key/token setup + # Permissions needed are zone dns edit and user details read, account worker scripts edit, + # zone analytics read, zone load balancer edit, account ruleset edit, zone firewall edit + # account url scanner edit, zone waiting room edit, zone cache purge + fi + # Not sure what permissions/tokens/whatever this test needs, maybe both a token and old api login + # tried several of the ssl related options for the cert test but no luck either + # Tried several of the prefex related options to try to get loa docs working but nope + local EPYTEST_IGNORE+=('test_images_v2_direct_upload.py' 'test_issue114.py' + 'test_certificates.py' 'test_loa_documents.py' + 'test_load_balancers.py' 'test_rulesets.py') + # maybe needs a paid plan or just some unknown permission + local EPYTEST_DESELECT=( + 'test_load_balancers.py::test_load_balancers_list_regions' + 'test_load_balancers_get_regions' + 'test_load_balancers.py::test_load_balancers_search' + 'test_load_balancers.py::test_load_balancers_pools' + 'test_rulesets.py::test_zones_ruleset_post' + 'test_rulesets.py::test_zones_rulesets_get_specific' + 'test_rulesets.py::test_zones_ruleset_delete' + ) + epytest +} diff --git a/dev-python/cloudflare/metadata.xml b/dev-python/cloudflare/metadata.xml new file mode 100644 index 000000000000..c5bf0930b725 --- /dev/null +++ b/dev-python/cloudflare/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kcelbert@gmail.com</email> + <name>Kyle Elbert</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/importlib-metadata/Manifest b/dev-python/importlib-metadata/Manifest index 2e4936187c22..36fd4cdb9b93 100644 --- a/dev-python/importlib-metadata/Manifest +++ b/dev-python/importlib-metadata/Manifest @@ -1,2 +1 @@ -DIST importlib_metadata-7.0.2.tar.gz 51206 BLAKE2B 74202e7e4097f16c2de0453d7a47ee6f7b1658d07979fd13e34b749d7bf13c668ee5a8e9fd48bbf4220c87216c702ddc17483ecc30a41409d1e7757ecd4c0300 SHA512 a672e5b887107f4dac02283bedfe8e545c2eadc92a51df75e5db671707f497c4d441b9c60841e2651d9dc4779b34167b49ad20f4b49e642d848419e303d73aef DIST importlib_metadata-7.1.0.tar.gz 52120 BLAKE2B a43a1f0724b3197f51c055d36d31700d67b3bcae849fd648c7cd1ac158a410fdf05a27f2c7003a30e566f86ec5dcbf7cf386ebe4e0ed0a1ce2e89e280ab9e1d3 SHA512 e75db6da03c251acc690ceef6ab2b668acfcf5499032cff370a574b31a5fd7afcbf9756bc20e44e6e649767c1609c7ebb40203aa6406ec5341f27fba886d208e diff --git a/dev-python/importlib-metadata/importlib-metadata-7.0.2.ebuild b/dev-python/importlib-metadata/importlib-metadata-7.0.2.ebuild deleted file mode 100644 index 488866e70ec8..000000000000 --- a/dev-python/importlib-metadata/importlib-metadata-7.0.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -# NB: this package extends beyond built-in importlib stuff in py3.8+ -# new entry_point API not yet included in cpython release -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Read metadata from Python packages" -HOMEPAGE=" - https://github.com/python/importlib_metadata/ - https://pypi.org/project/importlib-metadata/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "importlib_metadata" - version = "${PV}" - description = "Read metadata from Python packages" - EOF -} diff --git a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild index 37f93488fa79..3ccd4aa9fdb4 100644 --- a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/jaraco-test/Manifest b/dev-python/jaraco-test/Manifest index 6da1e5f9351a..4bb20d6aab0f 100644 --- a/dev-python/jaraco-test/Manifest +++ b/dev-python/jaraco-test/Manifest @@ -1,2 +1 @@ -DIST jaraco.test-5.3.0.tar.gz 8199 BLAKE2B bb44899e9d459350b7edff1a0212afada0765b250e7450c28e15da958632b33a17777d6db2b7ae9984772928003fbd368b6482889816198c971c77fd1f967bcd SHA512 31d2ea0557023c6996b786ee1b2a385ac8f22c2af66baab98c3a6b894bf1eaa7378a595d00bc46a537cc89fe87c9193733968fc8a586a58654b468b712d63728 DIST jaraco.test-5.4.0.tar.gz 8838 BLAKE2B 3abdff298a61015363bda3e52d3b5226993169128386dbb620487dcf8b29926c9be0415a2a263ad311db04a591d446b9e6efaece2ab2bfbe7b2781ee2e6dcdd6 SHA512 ab260c3c5ef16e83e8be0821cb735941764c06bb414c3f913bf337b62267b177f3102f7a87241b182ef20760fdcce98f4f9c705335b0744b69f9a296d5215b1b diff --git a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild deleted file mode 100644 index b9c60f7c7b57..000000000000 --- a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Testing support by jaraco" -HOMEPAGE=" - https://github.com/jaraco/jaraco.test/ - https://pypi.org/project/jaraco.test/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/jaraco-context[${PYTHON_USEDEP}] - dev-python/jaraco-functools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - # while technically these tests are skipped when Internet is - # not available (they test whether auto-skipping works), we don't - # want any Internet access whenever possible - local EPYTEST_DESELECT=( - tests/test_http.py::test_needs_internet - ) - epytest -m "not network" -} diff --git a/dev-python/jsonlines/Manifest b/dev-python/jsonlines/Manifest new file mode 100644 index 000000000000..74195a9debc4 --- /dev/null +++ b/dev-python/jsonlines/Manifest @@ -0,0 +1 @@ +DIST jsonlines-4.0.0.gh.tar.gz 13172 BLAKE2B 66c68591f2d04f290165a5245335700b6a8305607a16dde3cf759868ecc8aad116f7afea447684803c21692393835f97ca589b4ac519e8f7ddc459cf05d39e82 SHA512 d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275 diff --git a/dev-python/jsonlines/jsonlines-4.0.0.ebuild b/dev-python/jsonlines/jsonlines-4.0.0.ebuild new file mode 100644 index 000000000000..449ce59d2d6a --- /dev/null +++ b/dev-python/jsonlines/jsonlines-4.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="Library with helpers for the jsonlines file format" +HOMEPAGE="https://pypi.org/project/jsonlines/" +#SRC_URI="https://files.pythonhosted.org/packages/90/cd/0beacbcfdf9b3af9e7c615cb3dba7ec4be1030d4b283e3c9717e3fd9af3c/jsonlines-1.2.0.tar.gz" +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wbolster/jsonlines" +else + KEYWORDS="~amd64 ~arm64" +# tests not distributed through pypi mirror +# SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + SRC_URI="https://github.com/wbolster/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +fi +LICENSE="BSD" +SLOT="0" +IUSE="test" +RESTRICT="mirror" #overlay, no real issue +RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]" +BDEPEND=" test? ( ${RDEPEND} )" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -r -e "/packages *=/ s|\[[^]]*\]\+||" -i -- setup.py + + distutils-r1_python_prepare_all +} diff --git a/dev-python/jsonlines/metadata.xml b/dev-python/jsonlines/metadata.xml new file mode 100644 index 000000000000..c5bf0930b725 --- /dev/null +++ b/dev-python/jsonlines/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kcelbert@gmail.com</email> + <name>Kyle Elbert</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/portend/portend-3.2.0.ebuild b/dev-python/portend/portend-3.2.0.ebuild index 479110571c0a..7b2a297f5239 100644 --- a/dev-python/portend/portend-3.2.0.ebuild +++ b/dev-python/portend/portend-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/tempora-1.8[${PYTHON_USEDEP}] diff --git a/dev-python/tempora/tempora-5.5.1.ebuild b/dev-python/tempora/tempora-5.5.1.ebuild index fa97deb54d9a..c251c5d33344 100644 --- a/dev-python/tempora/tempora-5.5.1.ebuild +++ b/dev-python/tempora/tempora-5.5.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] |
