diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-22 15:34:04 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-22 15:34:04 +0000 |
| commit | efbe1e88521d9e819eb420626e1bc5a3f55e0f08 (patch) | |
| tree | e82d8d7bc730a9154880203fec0db5b2a5da01d4 /dev-python | |
| parent | 45cf716b86bc021e209e6f515f8b0d61aa24f8fb (diff) | |
| download | baldeagleos-repo-efbe1e88521d9e819eb420626e1bc5a3f55e0f08.tar.gz baldeagleos-repo-efbe1e88521d9e819eb420626e1bc5a3f55e0f08.tar.xz baldeagleos-repo-efbe1e88521d9e819eb420626e1bc5a3f55e0f08.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/google-api-python-client/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild | 52 | ||||
| -rw-r--r-- | dev-python/google-api-python-client/google-api-python-client-2.76.0.ebuild | 52 | ||||
| -rw-r--r-- | dev-python/pyacoustid/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild | 48 | ||||
| -rw-r--r-- | dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild (renamed from dev-python/pytesseract/pytesseract-0.3.10.ebuild) | 0 |
6 files changed, 49 insertions, 106 deletions
diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index c406c8ad3baa..5c4ebc9d6717 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,5 +1,3 @@ -DIST google-api-python-client-2.74.0.gh.tar.gz 38189426 BLAKE2B 927345937faf574263df8a8c64949824bf371b5b881958b9d0e055ad8ee9bf5c758e173afa47274c6c1d10ebdd0c168f7d7763c8d66f664dc80bf253a391fb26 SHA512 831159d4a3c46b716ff1be64c13cbf37eebb96a75e3573bd8b1200930d465935569ceeb4caaa35bc24105087db06fa62306ef03ed4fb04c87b5d24826680b949 -DIST google-api-python-client-2.76.0.gh.tar.gz 38245213 BLAKE2B 28d7ea8fb169b08cfc689b2957de84e1f860fb2857f4cf85e40bcdbe8c728e6179194d5dfe65103d1ed17a604d880011b2a82b4e555dc6ed6e9e73737fc5e8bc SHA512 01f1245b8a64cf5adae42b941b88eb05db4a21db4e16b35f98a077c223e795538b654f348f4b0a7bfde8e8928c3c57cd841dca41755a57ee0a6965b89f58cdf9 DIST google-api-python-client-2.77.0.gh.tar.gz 38300787 BLAKE2B c7d147b9ae78fff5aa70b2ba219888296d414c1f7b498c93bb424d06c437a50d5a1a2284062e58defb29ba3aa89b225e4218d9acd303a0e17f3ec4ab0380a2f6 SHA512 24aa2b3d709de83b76be2d8030a419d0e3f8f447852d7f95c6cf735134270a7af94edd86bcc3d82cd25af2497f30ac6c365ac88494c227b19faecb8e3706c261 DIST google-api-python-client-2.78.0.gh.tar.gz 38327369 BLAKE2B 291941a44a6fc9da7df2cbb108ba90babac33916f9c36aeae6e8b1575e9851f7c93aaea09340d36acd8f80dbe5ebe63820d60edc0aec14ee4859a47dcf66e344 SHA512 fff05aa981106aaccb689aeeace62734df77fefe7132481a11bc81b249a7793c1743c7c7c21116b3f5d4d59230ec7adac090d478969f8847bc201a2a23dd072d DIST google-api-python-client-2.79.0.gh.tar.gz 38537790 BLAKE2B 968a33a92bff0b7bc6e01e69df3b405b189df1560e1100de6bfb987ba5d87f1da9dafa184966f55f1d64b41912790f94a98d5160dd042661a2d5acc02c6d10e3 SHA512 c16e32306eb8660facbaa078fc76ad49692948f26d81d753977d1cfa49f76b4eacf2a5613c4bdb8f463ebd65c955d5edda415355d143ce1dd59ec7443eeb0a13 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild deleted file mode 100644 index 5fbf68d9557e..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.74.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 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,11} ) - -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE=" - https://github.com/googleapis/google-api-python-client/ - https://pypi.org/project/google-api-python-client/ -" -SRC_URI=" - https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - epytest tests -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.76.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.76.0.ebuild deleted file mode 100644 index e603f5560fbc..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.76.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 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,11} ) - -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE=" - https://github.com/googleapis/google-api-python-client/ - https://pypi.org/project/google-api-python-client/ -" -SRC_URI=" - https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - epytest tests -} diff --git a/dev-python/pyacoustid/Manifest b/dev-python/pyacoustid/Manifest index 6fb5e78771ed..0be135d373c9 100644 --- a/dev-python/pyacoustid/Manifest +++ b/dev-python/pyacoustid/Manifest @@ -1 +1,2 @@ DIST pyacoustid-1.2.2.tar.gz 15869 BLAKE2B 01f327dd640819dd799f48b32e859fe39dccda3fd62714bf324c8219cf7053b36f1399793523634e9d4f3c6405bed5050abb34bdf53c72ff0ee22708fb57225a SHA512 5bcb3f017c3013eb8fc9e335540a1f5e6a52fc2fefa53d5ef246ba16e4ff615dd1d1cf08b5c80b1a38b149e0fa7dc0b15e4890dcc3f5478ef874b4ec22cf0813 +DIST pyacoustid-test.mp3 4507187 BLAKE2B 54494d9f23481f9d1ee77b136ac3e1790e9fb78c782159ad1793dbebf18f694e13f6413a8259bae84c789f73ea8241e590dbd7e30ccb7377b2afa946335da19b SHA512 faa582640e759322d4bd58d85f4aa7d3ef88fd90aa3c67c1390ba6d4c3213278c11fb60c8d6c87a25e82dffcc54986caa4f0e463acfbcd90993166577e5226d8 diff --git a/dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild b/dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild new file mode 100644 index 000000000000..e9930783ecbc --- /dev/null +++ b/dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 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,11} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for Chromaprint and the AcoustID web service" +HOMEPAGE="https://pypi.org/project/pyacoustid/" +SRC_URI=" + mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( + https://s3.wasabisys.com/blocsonic/releases/maxblocs/bsmx0198/01-Follow_192kb.mp3 + -> ${PN}-test.mp3 + ) +" + +LICENSE="MIT test? ( CC-BY-SA-4.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +# Tests fail with network-sandbox, since they need to connect to acoustid.org +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/audioread[${PYTHON_USEDEP},ffmpeg] + dev-python/requests[${PYTHON_USEDEP}] + media-libs/chromaprint +" + +python_test() { + # Working test will print the top metadata match from Acoustid's database. + "${EPYTHON}" aidmatch.py "${DISTDIR}/${PN}-test.mp3" || die "Test failed with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + + if use examples ; then + docinto examples + dodoc aidmatch.py fpcalc.py + docompress -x /usr/share/doc/${PF}/examples/ + fi +} diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild index 36608492230b..36608492230b 100644 --- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild +++ b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild |
