From e895f7dd1983af02c6f3e645a4a254447ffc5201 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 28 Jan 2022 13:37:54 +0000 Subject: Adding metadata --- dev-python/PySDL2/Manifest | 1 + dev-python/PySDL2/PySDL2-0.9.11.ebuild | 57 +++++++++++++++++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.20.45.ebuild | 60 ++++++++++++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.23.45.ebuild | 65 ++++++++++++++++++++++ dev-python/filebytes/Manifest | 1 + dev-python/filebytes/filebytes-0.10.2.ebuild | 23 ++++++++ dev-python/filebytes/filebytes-9999.ebuild | 23 ++++++++ dev-python/filebytes/metadata.xml | 19 +++++++ dev-python/jc/Manifest | 1 + dev-python/jc/jc-1.18.2.ebuild | 26 +++++++++ dev-python/ldap3/Manifest | 1 + dev-python/ldap3/ldap3-2.9.1.ebuild | 23 ++++++++ .../files/mygpoclient-1.8-fix-literal.patch | 35 ++++++++++++ dev-python/mygpoclient/metadata.xml | 1 + dev-python/mygpoclient/mygpoclient-1.8.ebuild | 36 +++++------- dev-python/ordered-set/ordered-set-4.1.0.ebuild | 2 +- dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/pdm-pep517-0.10.2.ebuild | 55 ++++++++++++++++++ dev-python/pony/Manifest | 1 + dev-python/pony/pony-0.7.16.ebuild | 25 +++++++++ dev-python/ruamel-std-pathlib/Manifest | 1 + .../ruamel-std-pathlib-0.9.1.ebuild | 28 ++++++++++ dev-python/setuptools/setuptools-60.5.0-r1.ebuild | 2 +- dev-python/snakeoil/snakeoil-0.9.10.ebuild | 2 +- dev-python/svglib/Manifest | 1 + dev-python/svglib/svglib-1.2.1.ebuild | 35 ++++++++++++ dev-python/unidiff/Manifest | 1 + dev-python/unidiff/unidiff-0.7.1.ebuild | 19 +++++++ dev-python/uvicorn/Manifest | 1 + dev-python/uvicorn/uvicorn-0.17.1.ebuild | 45 +++++++++++++++ dev-python/yara-python/Manifest | 1 + dev-python/yara-python/metadata.xml | 19 +++++++ dev-python/yara-python/yara-python-4.1.3.ebuild | 29 ++++++++++ 35 files changed, 616 insertions(+), 26 deletions(-) create mode 100644 dev-python/PySDL2/PySDL2-0.9.11.ebuild create mode 100644 dev-python/boto3/boto3-1.20.45.ebuild create mode 100644 dev-python/botocore/botocore-1.23.45.ebuild create mode 100644 dev-python/filebytes/Manifest create mode 100644 dev-python/filebytes/filebytes-0.10.2.ebuild create mode 100644 dev-python/filebytes/filebytes-9999.ebuild create mode 100644 dev-python/filebytes/metadata.xml create mode 100644 dev-python/jc/jc-1.18.2.ebuild create mode 100644 dev-python/ldap3/ldap3-2.9.1.ebuild create mode 100644 dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch create mode 100644 dev-python/pdm-pep517/pdm-pep517-0.10.2.ebuild create mode 100644 dev-python/pony/pony-0.7.16.ebuild create mode 100644 dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.1.ebuild create mode 100644 dev-python/svglib/svglib-1.2.1.ebuild create mode 100644 dev-python/unidiff/unidiff-0.7.1.ebuild create mode 100644 dev-python/uvicorn/uvicorn-0.17.1.ebuild create mode 100644 dev-python/yara-python/Manifest create mode 100644 dev-python/yara-python/metadata.xml create mode 100644 dev-python/yara-python/yara-python-4.1.3.ebuild (limited to 'dev-python') diff --git a/dev-python/PySDL2/Manifest b/dev-python/PySDL2/Manifest index fbbe1cb19202..3986d0fc6426 100644 --- a/dev-python/PySDL2/Manifest +++ b/dev-python/PySDL2/Manifest @@ -1,2 +1,3 @@ DIST PySDL2-0.9.10.tar.gz 5228778 BLAKE2B 1aac6ac3a33dd5cb56aad7e9fdcfe5ec62f7b406b9779aa04f92ec4f051cbe5f03596de06aa2d5688724c811c86959edefe40dab1e39980a8410c6b09c10c5ab SHA512 86517734d356ba7685914ce6e4583c8131bc2e84bf2318f985119407d39794878aeb8fdb84464e1e35c3b4cc1569777239dedb16f4669169f9f0302dacd8689e +DIST PySDL2-0.9.11.tar.gz 736026 BLAKE2B ebf5a98958681cc61155aeffdb67ca9d1aeef8143ca876b63772ce95b7bf23cc5708a01cfa83d3128d4fe20c2b714bf2f1e7dc64454c7d063590c55cfc236f24 SHA512 4e3383ef64f4f164d60a69a5a2c6ea153269b45661c9bba988d4c44a5cce7195cec0d29384d1855e9c9d507af2608bc808b9885449aea61c5ee51fc2d4f4af6f DIST PySDL2-0.9.9.tar.gz 743302 BLAKE2B 1e9e0eeea48b838227d3fe6ea93311d445b1d3a15588f4b83d075d18306b419ba3512826e44c5e4ecc2aec59ad44da73372ec740ebf6106271fd0b77175b88d7 SHA512 52b469735b1229392ea2f73b2dfcf1e75cedf7582a488461be9b06bc072f82a5c8c559d345a0c3668829c0f8bb2996005d538465ed7d2a45fb8480001fd0ccce diff --git a/dev-python/PySDL2/PySDL2-0.9.11.ebuild b/dev-python/PySDL2/PySDL2-0.9.11.ebuild new file mode 100644 index 000000000000..06c4d8d23ca8 --- /dev/null +++ b/dev-python/PySDL2/PySDL2-0.9.11.ebuild @@ -0,0 +1,57 @@ +# 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_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python (ctypes) bindings for SDL2 libraries" +HOMEPAGE="https://github.com/marcusva/py-sdl2 https://pypi.org/project/PySDL2/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( public-domain CC0-1.0 ZLIB )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Optional deps: +# - dev-python/numpy, +# - dev-python/pillow, +# - media-libs/sdl2-* (loaded dynamically via ctypes). +# +# If a reverse dependency needs the specific module, it should +# explicitly depend on the optional module in question. You also +# probably need to explicitly require some media-libs/libsdl2 flags. +RDEPEND="media-libs/libsdl2" + +# Require all of SDL2 libraries and at least the most common subsystems +# for better test coverage. +DEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/libsdl2[joystick,sound,video] + media-libs/sdl2-gfx + media-libs/sdl2-image[gif,jpeg,png,tiff,webp] + || ( + media-libs/sdl2-mixer[flac] + media-libs/sdl2-mixer[midi] + media-libs/sdl2-mixer[mod] + media-libs/sdl2-mixer[mp3] + media-libs/sdl2-mixer[opus] + ) + media-libs/sdl2-ttf + )" + +distutils_enable_tests pytest + +src_test() { + # from .travis.yml + local -x SDL_VIDEODRIVER=dummy + local -x SDL_AUDIODRIVER=dummy + local -x SDL_RENDER_DRIVER=software + + distutils-r1_src_test +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index eb9e7933da9d..cc8198f815f0 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.20.41.tar.gz 463009 BLAKE2B c60443611023dd03ddcd1cc5ca951d2efdf02c2 DIST boto3-1.20.42.tar.gz 463092 BLAKE2B 5396f2c47db8aaec468a0e9cb3eebe8450dd3a91680ea3e87171186052222c14be40ceb637aa88149eb878cf9dc45a1f0ffe6f02388be3e7dfcc28e92cad032c SHA512 1ae9b70eb601c0445bd67a61681ad1d7765deace0f007320124d587be40d8761e4270ce590994c80313090d060e84080effd6f7c3e40ca01c868bbad2d1ff6c9 DIST boto3-1.20.43.tar.gz 463424 BLAKE2B 6d67a86d4d0577b2e9d30335ddb1286f25bc866b492416ea64833bc7e8315f847393158abe898e9208b947a7e8505d18ed70885044f9059da38e8ac7a00c6a80 SHA512 95602ce59c4baa24835fcf331674e040d8e41b279bf43bfd7c00f171087644d7a335462cd1941fd1330da7909b6fe707f595ec04c0dcad02627b91fc3fdd3ffc DIST boto3-1.20.44.tar.gz 463921 BLAKE2B 1276bbddbf1be9e30142ef1ccc24a69e885d1bdf35ce1c136105d1c08b6a24820c965827c6bc569c747efb5dbb8e64b611b3ac2bc63bcb714f8d6748e424f927 SHA512 de223aa34efd81d26287204e9159368ee77bd91e3fd457896d801bc1517ed4b32f5a16d1441f053f90e232beb473c51bee88f591db5746cf5b8049f044c29811 +DIST boto3-1.20.45.tar.gz 464557 BLAKE2B f021696e14a2bd82325c666a3ef8266ae3e19564cda9792a2436079b24810949af86f6d1a328850f58c9f53be261ee67c6282adc1cd846df0a37d686835c92fa SHA512 293e89a96601c15f78efc2a7c9dd91bf1db6944deebdb50e093b075540bafd1da5ea82d9719bfc36b205b0cfdb5052f3f69cc504bef089e980ead68f39326d85 diff --git a/dev-python/boto3/boto3-1.20.45.ebuild b/dev-python/boto3/boto3-1.20.45.ebuild new file mode 100644 index 000000000000..ed44d35fedd6 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.45.ebuild @@ -0,0 +1,60 @@ +# 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_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index a0b8861ff1e3..efcafb9827c9 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.23.41.tar.gz 8732416 BLAKE2B 2d1a3284521a608db2dbfdbb8c98fb3bd01 DIST botocore-1.23.42.tar.gz 8734201 BLAKE2B 009fd49716ce5a1453c83f279f36b8b174403ef7e403caa43a030126fde6e0e9bd414dc4369791aa090d7b10065906c6a97ada1d7796553af0cbbd4af8b78d95 SHA512 bc5ec5996fb139bc18975976bb8907978caf10399867cbcf8dc39bf47a5d61749c617c704cfbbe87074a6db5f4355f645fc88f06a71251c8bd3f65adacd1d9ba DIST botocore-1.23.43.tar.gz 8739652 BLAKE2B 5520a9933ab87769c8459a0925822e36eba1741512bd11b575ba260ab0ea43aae66c737d66d3488aeb04cc10a2931af9136f7f80fc10bcdda309234de9bb6414 SHA512 51b11df7bf43a011df904e92285ecc373888e42e3d7e349e47df42c78432a60f692ccfbeb01fc598f9d81861823578a3cc1798340196468ee3e30de7e6a9dd03 DIST botocore-1.23.44.tar.gz 8741781 BLAKE2B e76dcbf7a57421e4df3afa9317a1fcc66c0f7e00a3112384537daafb349648e38ec7cc6fb4b808fbfe69a6c6cfd30f04bbefb7fcc246d2b647ea4fc78aa17378 SHA512 59562e8ef5e18465a1981c188a84112326ab5f7d7ed4f72eacea3a88d43d615c8b3514d7bf6a2daf92ac29dc8bb24f8f878c318c8f463cd1ceb7e237f18dfc26 +DIST botocore-1.23.45.tar.gz 8742820 BLAKE2B af2304abeb8be458ad46c957e7865ad37b3ffc0f2adf3b412cf2713235c0f5a31005da7630b7d882cdde56c2ea34bbe2562104b8399f2f4b7965d48c9a4276e3 SHA512 bddedc8bb2b70758b1508b1c9f62c82016b2e397b95732243ad3c994cb2fbcf19ed29c8f7bd295498d31b385bf4ad2975cf7733e57c9cbeadbe290e042ea2c0f diff --git a/dev-python/botocore/botocore-1.23.45.ebuild b/dev-python/botocore/botocore-1.23.45.ebuild new file mode 100644 index 000000000000..c44cf37adbf0 --- /dev/null +++ b/dev-python/botocore/botocore-1.23.45.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_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/filebytes/Manifest b/dev-python/filebytes/Manifest new file mode 100644 index 000000000000..d2bf3d9b8638 --- /dev/null +++ b/dev-python/filebytes/Manifest @@ -0,0 +1 @@ +DIST filebytes-0.10.2.tar.gz 1958114 BLAKE2B 6b7fb865d01cc9ea0f14b32f6e0326da21fa2fa2a36549b99ca88e9bf015162d3b0f82e350be1cca805294fd56ef47e2db4394db5ffb3061773f146eda1ba666 SHA512 12317d6b5063e710b4410e4dcc61b45c0ac1cbc80655212dacb0929a19e100849df39ba84a05cb96699abe7ec16758e0b9656b3d3ce044f3d122b8636106e564 diff --git a/dev-python/filebytes/filebytes-0.10.2.ebuild b/dev-python/filebytes/filebytes-0.10.2.ebuild new file mode 100644 index 000000000000..a4fe77d577cb --- /dev/null +++ b/dev-python/filebytes/filebytes-0.10.2.ebuild @@ -0,0 +1,23 @@ +# 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_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Classes/Types to read and edit executable files" +HOMEPAGE="https://github.com/sashs/filebytes" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sashs/filebytes" +else + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" diff --git a/dev-python/filebytes/filebytes-9999.ebuild b/dev-python/filebytes/filebytes-9999.ebuild new file mode 100644 index 000000000000..a4fe77d577cb --- /dev/null +++ b/dev-python/filebytes/filebytes-9999.ebuild @@ -0,0 +1,23 @@ +# 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_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Classes/Types to read and edit executable files" +HOMEPAGE="https://github.com/sashs/filebytes" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sashs/filebytes" +else + SRC_URI="https://github.com/sashs/filebytes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" diff --git a/dev-python/filebytes/metadata.xml b/dev-python/filebytes/metadata.xml new file mode 100644 index 000000000000..78229bb54c35 --- /dev/null +++ b/dev-python/filebytes/metadata.xml @@ -0,0 +1,19 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + sam@gentoo.org + Sam James + + + Python library to read and edit files in the following formats: + Executable and Linking Format (ELF), Portable Executable (PE), MachO + and OAT (Android Runtime) + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/jc/Manifest b/dev-python/jc/Manifest index 23c92708fc5c..478d5fa38237 100644 --- a/dev-python/jc/Manifest +++ b/dev-python/jc/Manifest @@ -1,2 +1,3 @@ DIST jc-1.17.7.tar.gz 3922848 BLAKE2B e075e5e2c7bd06d7c4310a2cb94b1ddd55014d9d8a920c100fcba01735188a7a9ed221224cc73e62efab02a9feb8d1f208a30964e41111063f1147299f098ce6 SHA512 be565377f3f776b387e4a8ff6bc07ac39c93bcf1a21e71cf96dd3474f459e07f050fd30b0b9281331a39c361155463b63c5a61f4271885126406029b5f9546a0 DIST jc-1.18.1.tar.gz 3927394 BLAKE2B f87744e2cfdda10e6d2b1ea021f304e533ab1838de37f09b534e8ed1cf522d6267c96ac22d9ab665fdd593d27adcfa6da34f2f2471bae783585745882796ff8d SHA512 00fb9bfd2ebf9419c866ed56113310f3917e5dbbe538b0d48f5e66979773108f430168186fb350ed9494344f1ceb80e0bcef51344994b78e852b5c6305e9c474 +DIST jc-1.18.2.tar.gz 3928302 BLAKE2B 5deb67c56d3fc32728da6e67d7941c8ba01482c1ead86c82f68ed49c8aa53de8e88a77c3840db1f4d9c4d00ea5c96fdb9f7631d99f1dd9a288a41e2e9d50b797 SHA512 f425cc225fd4f993bb0a3c5065f0e90894e7330976dc4bfae08acd4559d0cad5a4cd14d93976814ea03f853ec0faf11bfc1c3b6b8b9d7a61071398d628ab57dc diff --git a/dev-python/jc/jc-1.18.2.ebuild b/dev-python/jc/jc-1.18.2.ebuild new file mode 100644 index 000000000000..d08bdda1a655 --- /dev/null +++ b/dev-python/jc/jc-1.18.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Converts the output of popular command-line tools and file-types to JSON" +HOMEPAGE="https://github.com/kellyjonbrazil/jc" +SRC_URI=" + https://github.com/kellyjonbrazil/jc/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +RDEPEND="dev-python/pygments[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest diff --git a/dev-python/ldap3/Manifest b/dev-python/ldap3/Manifest index fa7b29804bbf..b169435b6844 100644 --- a/dev-python/ldap3/Manifest +++ b/dev-python/ldap3/Manifest @@ -1 +1,2 @@ DIST ldap3-2.8.1.tar.gz 961648 BLAKE2B d6cbc52512efbe4f6fe5e7d19ee2ce1af3e03a8d6d08d2235eeff0f00c61fd12583c4b9fb452206ba161961c3438d109fa106a50a0edc858c24f5cd6261b2561 SHA512 f37e76e1008c990290285a757def6fe70e227393fbbdf84eb1130d5fdfd17db724c544848cc424ca7831f8cc9e8d25407fc139981ebd10818064f588adbafebf +DIST ldap3-2.9.1.tar.gz 974013 BLAKE2B a75219403e68705b10c06e692f4f188575a4ae38c86f15ceb6d2c674e74ac44ce0f53e3ec6bf66e8413007589293e2db95497de7b0317066b36105940beb11bf SHA512 bf07ebca9a53a8c225bc3106d3bd45eb26557c6e5a3d6d45a7f8c149d938ad43825eed0d406a57b93e2e675ed7aa262828f022ab82eb683f0e3029e3ad823106 diff --git a/dev-python/ldap3/ldap3-2.9.1.ebuild b/dev-python/ldap3/ldap3-2.9.1.ebuild new file mode 100644 index 000000000000..cc40c75f2892 --- /dev/null +++ b/dev-python/ldap3/ldap3-2.9.1.ebuild @@ -0,0 +1,23 @@ +# 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_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A strictly RFC 4511 conforming LDAP V3 pure Python client" +HOMEPAGE=" + https://github.com/cannatag/ldap3/ + https://pypi.org/project/ldap3/" +SRC_URI="https://github.com/cannatag/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# tests require a ldap server and extra configuration +RESTRICT="test" + +RDEPEND=">=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}]" diff --git a/dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch b/dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch new file mode 100644 index 000000000000..372d0bc2bc40 --- /dev/null +++ b/dev-python/mygpoclient/files/mygpoclient-1.8-fix-literal.patch @@ -0,0 +1,35 @@ +From bdf8c8ce38cff8938bab3544c6dbb0d509ce7720 Mon Sep 17 00:00:00 2001 +From: Eric Le Lay +Date: Sun, 22 Mar 2020 16:19:08 +0100 +Subject: [PATCH] use == for comparison with literal + +See https://bugs.python.org/issue34850 +--- + mygpoclient/locator.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/mygpoclient/locator.py b/mygpoclient/locator.py +index c0dc9d7..810f973 100644 +--- a/mygpoclient/locator.py ++++ b/mygpoclient/locator.py +@@ -317,17 +317,17 @@ def settings_uri(self, type, scope_param1, scope_param2): + + filename = self._username + '/%(type)s.json' % locals() + +- if type is 'device': ++ if type == 'device': + if scope_param1 is None: + raise ValueError('Devicename not specified') + filename += '?device=%(scope_param1)s' % locals() + +- if type is 'podcast': ++ if type == 'podcast': + if scope_param1 is None: + raise ValueError('Podcast URL not specified') + filename += '?podcast=%s' % quote(scope_param1) + +- if type is 'episode': ++ if type == 'episode': + if (scope_param1 is None) or (scope_param2 is None): + raise ValueError('Podcast or Episode URL not specified') + filename += '?podcast=%s&episode=%s' % (quote(scope_param1), quote(scope_param2)) diff --git a/dev-python/mygpoclient/metadata.xml b/dev-python/mygpoclient/metadata.xml index a3ff7959b5ec..043c3d611f58 100644 --- a/dev-python/mygpoclient/metadata.xml +++ b/dev-python/mygpoclient/metadata.xml @@ -13,4 +13,5 @@ mygpoclient gentoo-staging + \ No newline at end of file diff --git a/dev-python/mygpoclient/mygpoclient-1.8.ebuild b/dev-python/mygpoclient/mygpoclient-1.8.ebuild index 153e43aa1fa6..9b7956495894 100644 --- a/dev-python/mygpoclient/mygpoclient-1.8.ebuild +++ b/dev-python/mygpoclient/mygpoclient-1.8.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +EAPI=8 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 DESCRIPTION="A gpodder.net client library" @@ -14,34 +14,24 @@ SRC_URI="https://github.com/gpodder/mygpoclient/archive/${PV}.tar.gz -> ${P}.tar LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" -RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/minimock - ) -" +BDEPEND="test? ( dev-python/minimock[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}"/${P}-fix-literal.patch + "${FILESDIR}"/${PN}-1.8-tests.patch +) -PATCHES=( "${FILESDIR}"/${P}-tests.patch ) +distutils_enable_tests nose src_prepare() { - distutils-r1_src_prepare # Disable tests requring network connection. - rm -f mygpoclient/http_test.py -} + rm mygpoclient/http_test.py || die -python_test() { - if [[ "${EPYTHON:0:4}" == "pypy" ]]; then - nosetests --cover-erase --with-coverage --cover-package=mygpoclient "${BUILD_DIR}"/lib/${PN}/ - else - nosetests --cover-erase --with-coverage --with-doctest --cover-package=mygpoclient "${BUILD_DIR}"/lib/${PN}/ - fi + distutils-r1_src_prepare } src_install() { distutils-r1_src_install - rm -f $(find "${D}" -name "*_test.py") + find "${D}" -name "*_test.py" -delete || die } diff --git a/dev-python/ordered-set/ordered-set-4.1.0.ebuild b/dev-python/ordered-set/ordered-set-4.1.0.ebuild index 16aabd797c4c..6037337fa415 100644 --- a/dev-python/ordered-set/ordered-set-4.1.0.ebuild +++ b/dev-python/ordered-set/ordered-set-4.1.0.ebuild @@ -14,6 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index a2bfe9f63f76..e7b8b7d79369 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,2 +1,3 @@ DIST pdm-pep517-0.10.0.gh.tar.gz 189457 BLAKE2B 5a51b62dbc828aec5bca6ada8c7ecb479dd7491f22251392198a3d8e183f2d3d86fd4264addd9a428c37a24041365f3eeecec0a33c3f1a39ea8a1a8e6827be91 SHA512 7eb76bdf3db99ec1cf76a467617ce15423eaa465800efa9ccb248efb3c3cb5644b8e6a9ce04d6181dc9f3b5287a167f62f25d5e3334929f3e947a62ca9633d01 DIST pdm-pep517-0.10.1.gh.tar.gz 189525 BLAKE2B 10d80fee2ac45fd68c61baf9a8ee7365da19a5daa085fdecd3164b3271cf0c0ee8ad110b1f96a33a4eecdceace72c2d4ee1ce789331c208eb4a67e3b4e3fe56a SHA512 acdf36eeb2baf90c1c80b676901ac06946fbb32f2a5c2bfbdfd85d0889ae22a0851dede4f5898d109d20583504b311cbec6903deadfb77e3f1dd7ff6a1098e04 +DIST pdm-pep517-0.10.2.gh.tar.gz 189817 BLAKE2B 47e773ac38197d898c50821d272c155d6749952bcce1492416291c02fa370965ca438e68268a56b8366b18f8a786883c9101e4dc325c9d4741f6cc509862d823 SHA512 6cdbd2cd96a784317356f4c5c52697279b720de03e7059c287872725baa10333b2f352e9a1c5ace727907bd6179cd879fcb4f6770eae1dd23294bf1b60cc233b diff --git a/dev-python/pdm-pep517/pdm-pep517-0.10.2.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.10.2.ebuild new file mode 100644 index 000000000000..503f89350c5f --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-0.10.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-pep517/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + >=dev-python/packaging-21.0[${PYTHON_USEDEP}] + >=dev-python/toml-0.10.2[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r pdm/pep517/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.pep517\._vendor\.:from :' \ + -e 's:from pdm\.pep517\._vendor ::' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/pony/Manifest b/dev-python/pony/Manifest index c86e6e677a60..932de943bcaa 100644 --- a/dev-python/pony/Manifest +++ b/dev-python/pony/Manifest @@ -1,2 +1,3 @@ DIST pony-0.7.14.gh.tar.gz 305795 BLAKE2B a0e056d722a205a00567a230628be6ef8a7fe86f594f91ec0e8bbfc6d6eec17ec1d4cf3f57ad10984b8beb0a90da3010d9a32f2f08dca434af39e20fc6e9126c SHA512 ed27fd697dd14948c282dab6b75e41c9309d0ef4c4cccb0f91e4214e81de52a2de3910e413dfc5495ffcea190a5b50255c45b2beecead84eecb601ba2463d998 DIST pony-0.7.15.gh.tar.gz 268638 BLAKE2B d93dcc21a13834a23c0fcbeec7f6ea98ff6750d1650b00e738d65c7b7985ba7880ddfc8238e4b4f3ee4a302a31b69a4767ea52728e66b5cfe62e0190769e6b8c SHA512 ca81441fe1a714bc863bde33739ae2e65f42d8e763a5c6734517987a4c03faffb08a134517bcc61f5b7941f207e32e4ca02fe12fccca871d481f44a81da12536 +DIST pony-0.7.16.gh.tar.gz 268683 BLAKE2B bee6447116f215cd586e69f29fea37ba3f9953d0a72b28acf612da2d6e1be07e424b704593e42ae1755e898580aaf4f2e61923ff81e6e58fe0cc8ec04a3b8399 SHA512 db9bb06f0e718866eb6f137d5650a2b484119c42f1ade83a7bc1c9e3c27a852ed25e451a226a80bebd050ca3217c0993e59f3b66719a3fe41a98e45349172495 diff --git a/dev-python/pony/pony-0.7.16.ebuild b/dev-python/pony/pony-0.7.16.ebuild new file mode 100644 index 000000000000..475caf97468b --- /dev/null +++ b/dev-python/pony/pony-0.7.16.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python ORM with beautiful query syntax" +HOMEPAGE=" + https://ponyorm.org/ + https://github.com/ponyorm/pony/" +SRC_URI=" + https://github.com/ponyorm/pony/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}]" +BDEPEND="test? ( $(python_gen_impl_dep sqlite) )" + +distutils_enable_tests unittest diff --git a/dev-python/ruamel-std-pathlib/Manifest b/dev-python/ruamel-std-pathlib/Manifest index 5fbe0850eb93..50e7848dc418 100644 --- a/dev-python/ruamel-std-pathlib/Manifest +++ b/dev-python/ruamel-std-pathlib/Manifest @@ -1,2 +1,3 @@ DIST ruamel-std-pathlib-0.8.0.tar.xz 19068 BLAKE2B e1709bf5af17a843a7f5aec8009c4ec337cd1a4a526315e8834924909613eb5cc50c2ae1a1acc74c97a876fa347767dce627f2dba1fb874032f0989f7ee6599e SHA512 eecbb43e3867d8ccb166a0d528b3d7cfc04ed6f2df5e2048ccec4d7fd36117ac4a3984d4143025f6b7fd51867de879fe02e5dcbc4b275fd40cab1609bcf69536 DIST ruamel-std-pathlib-0.9.0.tar.xz 19340 BLAKE2B 1ab661f3dc4cb75eed20426256f5c14fd9c3b44894c343dd55bd53dbb811eb90ea90ff8c1056b0eb4a5d186521786e22e42f8db48d8dde42885c72f34f8e3782 SHA512 ba551b3b07db87e46e059ddf17b0768283e8da49c7ea5bb252fba6ca611bb69d160fd6a3d3557eac0606b8aece5ee21aced2889609d95cfeb6f59473d72a261e +DIST ruamel-std-pathlib-0.9.1.tar.xz 19408 BLAKE2B 26c5dbddec337fb5fac6992206d49ecaabf743f2b6d9836c524626b77ca772e8e97e660f8bb22fd4d6e572705ef7d5cf6a012cede315a1662d8786be4ad8eca8 SHA512 d577731c504719b650a718c98979d28442f48ca1526b653f8faeadc4720f5cff09f0554fe5b8eb1cd65c7d3106f0b9e0a4d11f1f416458df187c51f707d137b6 diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.1.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.1.ebuild new file mode 100644 index 000000000000..a576da391b8d --- /dev/null +++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +MY_P="${PN//-/.}-${PV}" + +DESCRIPTION="Ruamel enhancements to pathlib and pathlib2" +HOMEPAGE="https://pypi.org/project/ruamel.std.pathlib/ https://sourceforge.net/p/ruamel-std-pathlib/" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND="dev-python/namespace-ruamel[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --single-version-externally-managed + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/setuptools/setuptools-60.5.0-r1.ebuild b/dev-python/setuptools/setuptools-60.5.0-r1.ebuild index bfa28a96698c..0e7b00aa0a1e 100644 --- a/dev-python/setuptools/setuptools-60.5.0-r1.ebuild +++ b/dev-python/setuptools/setuptools-60.5.0-r1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/snakeoil/snakeoil-0.9.10.ebuild b/dev-python/snakeoil/snakeoil-0.9.10.ebuild index 76f383ff2219..3a91c2327d0e 100644 --- a/dev-python/snakeoil/snakeoil-0.9.10.ebuild +++ b/dev-python/snakeoil/snakeoil-0.9.10.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" + KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest index d34bd6f9627a..284f658fcf86 100644 --- a/dev-python/svglib/Manifest +++ b/dev-python/svglib/Manifest @@ -1,2 +1,3 @@ DIST svglib-1.1.0.gh.tar.gz 2403896 BLAKE2B f3f45c526897cb64c44ab3dfb314d61faf190d482e0ce7c255ca51a45c2944393ac7ed0f83c9721648885ae7e477b87bf40040a01641c54ca31dcf85f97bf0fd SHA512 cc4eed96f021e9399e1a25bc477bdc91c037393b492ecd1eabb31c1163c8374499bc50b63ca60b038c61c7a799f4131183464f6799077875dd73a4e97a1246cf DIST svglib-1.2.0.gh.tar.gz 1261904 BLAKE2B 5516699609904b680a60972eb6ef4d36fbc0404bf9a4f03ddedb3b20531eb55893f6b88fceb86c0304da71371661d8d46bcb94f9f71bbe67fb1f6007561f7501 SHA512 636a96ed3ec49273250c7476c989cf2b2c98f8918eb851f6f6c4d7a02d2f06cc952741f4ecaf419ce48b6085fc0dccc3b491ecca9119cb713e1dae726144b8fc +DIST svglib-1.2.1.gh.tar.gz 1261918 BLAKE2B d2c35dfbd45f3c509674e0aa49d015ddc554d1e9d2ccf584a5ada019d9af5e7ee2ccf8c983c30e9107cb83468db6521153fa8340f0dab3b4b1ae5a839628e186 SHA512 361dec376eec6ed9bc52e2217a28e09bcfaab8e302c4ee574a320a8f84963852cfc10d3f6890d379f624a5855122f869eb9698fab89d76018af7bbf70aa587bd diff --git a/dev-python/svglib/svglib-1.2.1.ebuild b/dev-python/svglib/svglib-1.2.1.ebuild new file mode 100644 index 000000000000..a4832203f11d --- /dev/null +++ b/dev-python/svglib/svglib-1.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Pure-Python library for reading and converting SVG" +HOMEPAGE="https://pypi.org/project/svglib/ https://github.com/deeplook/svglib" +SRC_URI=" + https://github.com/deeplook/svglib/archive/v.${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-v.${PV} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cssselect2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs network access + tests/test_samples.py::TestWikipediaFlags::test_convert_pdf + tests/test_samples.py::TestW3CSVG::test_convert_pdf_png +) diff --git a/dev-python/unidiff/Manifest b/dev-python/unidiff/Manifest index 465bb44c7aad..dbb8a8c0378e 100644 --- a/dev-python/unidiff/Manifest +++ b/dev-python/unidiff/Manifest @@ -1 +1,2 @@ DIST unidiff-0.7.0.tar.gz 18883 BLAKE2B 815c578ea02fb9e8a9a6f79e02ba8c35981f49d93b615d198bf5365df11552da84519a6b732986867dca3c329e7b43e9c79e7b158e17ec6921611a8d80aa3af6 SHA512 4f6f249219e4f36d7f753bb117123c508420ecbe6ef4f78936ceea10a5df00a4177ae45d8a56c62d824ee17ddfbc5a41ffc1f45ce1a7add9692b9c86813c2aac +DIST unidiff-0.7.1.tar.gz 19547 BLAKE2B 71d3d8b187846f16e2fc1672c8b2624b4be29ef09b142a2a6c30f32c1812887d764f36ec16cb6d231f32fb84257cdb1abef3c571265f457ad2793bffbd043a74 SHA512 01a2467a10798a5427ae7d40644c881e7ed4775bab5b2bd7948d1153f1941417e2a2fd9beaa313e308900bffe8c8c1cb542d4f18e83786f9638ae20c72f1ad32 diff --git a/dev-python/unidiff/unidiff-0.7.1.ebuild b/dev-python/unidiff/unidiff-0.7.1.ebuild new file mode 100644 index 000000000000..41f8adc9c757 --- /dev/null +++ b/dev-python/unidiff/unidiff-0.7.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Unified diff parsing/metadata extraction library" +HOMEPAGE="https://github.com/matiasb/python-unidiff https://pypi.org/project/unidiff/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index b24b2e9bb0d1..dcce3606630d 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,3 +1,4 @@ DIST uvicorn-0.15.0_p20210913.gh.tar.gz 542385 BLAKE2B 1e551ffccac6f92981b0ef62cc80fb494b57dc19bddf8430c54b8a06801ee81cdc31a3167a56e90dd8e0f318cc84dfc71443f74beb39dc68ccc252bc6d6c1042 SHA512 865fe148900c8c00847017bab3ef17a9514e7ef7878ad6220633e2bd6d89b2e65a79a82fdabb8beec83841346a175f0c20807bea07536071a06a884c74418e0d DIST uvicorn-0.16.0.tar.gz 707858 BLAKE2B 604aa23f8eac6409396ed603c89a524ce61630e3edd354cfe86950c535f3829aa1ececc8a91a8eeb8164d125e2b20add14f457ba0b23a0d0efd085c168739bee SHA512 68eb5daeb72b457a43fa89e352bfe281c79c1057ad9616ba083f96c1392aeb56759f13a3ee7e9eb90749f92df137f1db2bf8c90256751513d770d6679e971003 DIST uvicorn-0.17.0.tar.gz 708241 BLAKE2B 77f87f0ecb911bb19d599fd48d6ea51105c19432f3bee59b3ccefca002fd7ca9e791ed20f1d92ba3ea755461d494cda3e6c26e08d628038594367c7fa7b6238d SHA512 dc67bc7f881cc98a753e1ee494d48860f5174a21c662673398f8c385897fc1a14f389b30e91f8a2d2ff71e0da1beba682315c83a588321f98fe87fa1e1ff7974 +DIST uvicorn-0.17.1.tar.gz 708124 BLAKE2B ee376b5d5c23c955dde9a8994ef589bcaa253f4c35617faa6996f5e2e82ea9268f59e25a0c9a092383ba308a03d98c2964b11d7997a3265dd13d3736a48b89ec SHA512 3a34f04757c4487d64351359da5e12b0ae9cd617ab8cab79cfe8c1e3521c91b324ff253c3dcf774b897c06b24e8e78c0c4c4ee52e7bce4971cba2b3d4fe90b2d diff --git a/dev-python/uvicorn/uvicorn-0.17.1.ebuild b/dev-python/uvicorn/uvicorn-0.17.1.ebuild new file mode 100644 index 000000000000..a2fadd04b163 --- /dev/null +++ b/dev-python/uvicorn/uvicorn-0.17.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Lightning-fast ASGI server implementation" +HOMEPAGE="https://www.uvicorn.org/" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/h11-0.8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + >=dev-python/websockets-10.0[${PYTHON_USEDEP}] + dev-python/watchgod[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # too long path for unix socket + tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers + # need unpackaged httptools + "tests/middleware/test_logging.py::test_trace_logging_on_http_protocol[httptools]" +) diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest new file mode 100644 index 000000000000..eaf58cf3e445 --- /dev/null +++ b/dev-python/yara-python/Manifest @@ -0,0 +1 @@ +DIST yara-python-4.1.3.tar.gz 33712 BLAKE2B 7878d12620f2834578c98a99bc259422d8ac54efc04ebd29ffa604c15b0462607ce950b3e19f8e80db07195e61dedb4efc8c2ffb18a0c5de0bf2755fe62776d1 SHA512 9c96ae78df7694dd55b8bdde4fad49043f120b94477fa9d7090610665072626eba4fa410cd9292205e0b18bb9f384f07288c0340232e163294b91051b84dcab2 diff --git a/dev-python/yara-python/metadata.xml b/dev-python/yara-python/metadata.xml new file mode 100644 index 000000000000..3f239e8936df --- /dev/null +++ b/dev-python/yara-python/metadata.xml @@ -0,0 +1,19 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + sam@gentoo.org + Sam James + + + With this library you can use YARA from your Python programs. It covers + all YARA's features, from compiling, saving and loading rules to + scanning files, strings and processes. + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/yara-python/yara-python-4.1.3.ebuild b/dev-python/yara-python/yara-python-4.1.3.ebuild new file mode 100644 index 000000000000..1804ad5ea55c --- /dev/null +++ b/dev-python/yara-python/yara-python-4.1.3.ebuild @@ -0,0 +1,29 @@ +# 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_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" +SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + =app-forensics/yara-$(ver_cut 1-2)*" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +src_compile() { + compile_python() { + distutils-r1_python_compile --dynamic-linking + } + python_foreach_impl compile_python +} -- cgit v1.3