diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-17 12:47:25 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-17 12:47:25 +0000 |
| commit | 93f0b20c1df250463a8da789dd4415b77cf855d1 (patch) | |
| tree | 4728be3106c9a0239c818518c5fda6e90de3938c /dev-python | |
| parent | 6057f4f73cfd245a6404bb6be9853b4ba1062e0d (diff) | |
| download | baldeagleos-repo-93f0b20c1df250463a8da789dd4415b77cf855d1.tar.gz baldeagleos-repo-93f0b20c1df250463a8da789dd4415b77cf855d1.tar.xz baldeagleos-repo-93f0b20c1df250463a8da789dd4415b77cf855d1.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
24 files changed, 486 insertions, 19 deletions
diff --git a/dev-python/confuse/Manifest b/dev-python/confuse/Manifest index 0686ad0c9d98..a04cc49afb94 100644 --- a/dev-python/confuse/Manifest +++ b/dev-python/confuse/Manifest @@ -1 +1,2 @@ DIST confuse-1.7.0.tar.gz 49171 BLAKE2B f102ed445d4fc259739305f745fea6c1fef90fe4d8eb7b77bb6c370d37929807478df86ad78ffc8fc2fb1d4cd7033d76e34d880d6dab6721b5fd6cc0e7f5d02a SHA512 0da6cb237aa31f63cf6d2df2e90eb27e7b1a81bd126546a4314425b9dc1d9f993232b4787815abaf7ef4b54ef03ac3286c321e6654fdf18f05f92aa69c3da78e +DIST confuse-2.0.0.gh.tar.gz 48269 BLAKE2B 58b96ab65da7b48236b798ad5546a72f0f74934c42525b26b44c0aad08ba4de385dbc2dd6915a4b570b1c4e59003e23119f0da80cf84b1bbc88abb9f72d4d8b1 SHA512 53732ef24903bc464f4cda0c9a2728814ff286c2e2a2150b4703b61f925d5bf77d75b98469a4fb92267caeec736e51d33285264f3fd8daa4adaaf23fa9511733 diff --git a/dev-python/confuse/confuse-2.0.0.ebuild b/dev-python/confuse/confuse-2.0.0.ebuild new file mode 100644 index 000000000000..0d824b5d4f5b --- /dev/null +++ b/dev-python/confuse/confuse-2.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +DISTUTILS_USE_PEP517=flit + +inherit distutils-r1 + +DESCRIPTION="Confuse is a configuration library for Python that uses YAML" +HOMEPAGE=" + https://github.com/beetbox/confuse/ + https://pypi.org/project/confuse/ +" +SRC_URI=" + https://github.com/beetbox/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + 'dev-python/sphinx_rtd_theme' diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest index 5786c19e97e0..0c056ce23bda 100644 --- a/dev-python/elementpath/Manifest +++ b/dev-python/elementpath/Manifest @@ -1 +1,2 @@ DIST elementpath-2.5.3.gh.tar.gz 264387 BLAKE2B a0904e95675570783f2f8bf854490a3f424d6ce0fa85e3c2030483e9c31af4a5eaaf727db6423e17a402f55e7d42b0625a5183b543f886ec8b12426eb0e57a57 SHA512 da561446ac3a059c60480084648ebc1190d0ec1dc495dfa128dc2598d5762ae1067f39be36fc6bca466e6785aae80edf6dc1415a2885bfbb2d54b97ca6611572 +DIST elementpath-3.0.0.gh.tar.gz 271802 BLAKE2B c766ab1654b89b6a1b09ed7273a65aa25bcad0e8f8188c50d2f85d852672ac650b6cee3411839f915b0fe46915bbe6c17269f0218f0de27b51e4bd48b9218c20 SHA512 171d5e19e3efeb0b80cd1dcca7a0604fff2a87a52db4570d2182ff155aaef5074517d1ee89992ea1937746481a10fdd62f317672fa7ad5014e64dc73fc39ffaf diff --git a/dev-python/elementpath/elementpath-3.0.0.ebuild b/dev-python/elementpath/elementpath-3.0.0.ebuild new file mode 100644 index 000000000000..f31b13eef70f --- /dev/null +++ b/dev-python/elementpath/elementpath-3.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" +HOMEPAGE=" + https://github.com/sissaschool/elementpath/ + https://pypi.org/project/elementpath/ +" +SRC_URI=" + https://github.com/sissaschool/elementpath/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # fails for some reason, more fit for upstream testing anyway + rm tests/test_typing.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/emoji/Manifest b/dev-python/emoji/Manifest index f7755f08c621..5f20f083acb5 100644 --- a/dev-python/emoji/Manifest +++ b/dev-python/emoji/Manifest @@ -1 +1,2 @@ DIST emoji-1.7.0.gh.tar.gz 217487 BLAKE2B 8b78e73604769bb6d5d0882a44ae8d9b6ca9de0d5fe0d4b0077cbc4a89949d4ece578de19de5b2db18c6f630dfe0adb5d9554874ce382d5624d9cf95c024ebcc SHA512 837e97cb80c15e980329e25e9fe2960063bb59e410ceb564abf95b90f7f2251e37092b701524a5b14dd7c4bd530a08b69f77bc8e4b7e53c6b8c5898ec384fc5a +DIST emoji-2.0.0.gh.tar.gz 245417 BLAKE2B 9c28a3ed0c9151930d1f37453eff6cdac1d4e5b0b6294a0c7eed2befe3884f3c54b88a20bcf62c1b5a37551607063bfd53cbd9d5b4d9b1a36b446e1815d64052 SHA512 5e33cfcf11d9d30453eeec55428d466a88c4332fc04bc185e6f2d00995e71f086771d1923a574905b6d3b46b7f8b675d0a6474526b45be6e6443b1ffdca007c8 diff --git a/dev-python/emoji/emoji-2.0.0.ebuild b/dev-python/emoji/emoji-2.0.0.ebuild new file mode 100644 index 000000000000..36de0fe9bfb4 --- /dev/null +++ b/dev-python/emoji/emoji-2.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Emoji for Python" +HOMEPAGE=" + https://github.com/carpedm20/emoji/ + https://pypi.org/project/emoji/ +" +SRC_URI=" + https://github.com/carpedm20/emoji/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +distutils_enable_tests pytest diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index bf4d0cba7c7b..51f3c3063225 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1 +1,2 @@ DIST gpep517-6.gh.tar.gz 9757 BLAKE2B f1b39f30b7d775330bddfd353610de7c26e34c5572cdaedbb078cc61c711e90e1c520b5e6e5532b0879ccc1eb7025a793c6f8d9745d93967eabbdd9edef69c6a SHA512 681108dab418d0d2d5b017f19bf8802479655f22eb6b72e9d78c6bbd2d08583751a465377c2006c507f0ea258d2d46bf9300865896af4458a763b56a86abe329 +DIST gpep517-7.gh.tar.gz 10606 BLAKE2B ca4dfbd79d3e360e9dad1aed7f6ccbfb5e1e3b250badacc38a201b5158235d84b6482676bb7885f6cbd82720ff3749bd9961a01d9717aa9dc213e70f4fe06ced SHA512 d6a36c83ede5525c598390000ced6c36cfb258289626e35f8eccfff4aada5871a8a0b9b53b09379e3ab63782a903eaa4396cfb089e3d30f49e3ef6eb0bfcc351 diff --git a/dev-python/gpep517/gpep517-7.ebuild b/dev-python/gpep517/gpep517-7.ebuild new file mode 100644 index 000000000000..db24e141454b --- /dev/null +++ b/dev-python/gpep517/gpep517-7.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A backend script to aid installing Python packages in Gentoo" +HOMEPAGE=" + https://pypi.org/project/gpep517/ + https://github.com/mgorny/gpep517/ +" +SRC_URI=" + https://github.com/mgorny/gpep517/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install() { + python_domodule gpep517 + python_newscript - gpep517 <<-EOF + #!${EPREFIX}/usr/bin/python + import sys + from gpep517.__main__ import main + sys.exit(main()) + EOF +} diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest index c3f11170361b..9034b135ccb0 100644 --- a/dev-python/nose2/Manifest +++ b/dev-python/nose2/Manifest @@ -1 +1,2 @@ DIST nose2-0.11.0.tar.gz 159486 BLAKE2B 36167e492a49017e0f1474bfd5fd77782a324f7d884bc11c88cf9226090dce67d47519db00d3b57542dc808fb0db40942184b3c1804ad3923e3cf5fc03cd50bc SHA512 8e6755c0f5a25c4c53a35d93e5c7988523e03e978b0593d49b7917dfcb980553be9af0cc3c67c2db527c304d049d97a8d7f6f53b1a8b2875ab5456cbb7519375 +DIST nose2-0.12.0.gh.tar.gz 168454 BLAKE2B cce76a046c4285d7dbe6ad6a049628e23ddebd36eda4457eecb4f0e14b1559f8bd7be5bc80aa99bf965f530575c3f5e245d1a30b4115d5e8ee0aa4c8d93fb8f0 SHA512 7f1462613b7d38a77cd0764f721be4223b8f4ae4694c49ba416a076c321e07484969ee1a7c2d2f89484c0c3b2a96e74d6a42321981af4930ebe5f63f07df7755 diff --git a/dev-python/nose2/nose2-0.12.0.ebuild b/dev-python/nose2/nose2-0.12.0.ebuild new file mode 100644 index 000000000000..aa033d6328a1 --- /dev/null +++ b/dev-python/nose2/nose2-0.12.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Next generation unittest with plugins" +HOMEPAGE=" + https://github.com/nose-devs/nose2/ + https://pypi.org/project/nose2/ +" +SRC_URI=" + https://github.com/nose-devs/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + +src_prepare() { + # seriously? that hard to depend on six?! + rm -r nose2/_vendor || die + find -name '*.py' -exec \ + sed -i -e 's:from nose2._vendor ::' {} + || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 8537cb77c8e4..fa8bfb95db30 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -3,4 +3,5 @@ DIST Nuitka-0.9.1.tar.gz 3856232 BLAKE2B 61d92ce8eba7b6832cb8fab4e612f66cc6c2698 DIST Nuitka-0.9.2.tar.gz 3856931 BLAKE2B daeb80c4682b8cf86335e13d6441169ec342dbd2fd245819eedd91451e84f28de395014a899614c0129df61316583813670614be0054a36406f8172f90d45bd3 SHA512 42fedde68ece78d01d0c5ec891a7a189e895bb3da6e25f944971f081f3b13b23f6553fe99d02a45a90474bf0044d61921ae88a82c787a3e5db24ac1331ccf3ca DIST Nuitka-0.9.3.tar.gz 3856951 BLAKE2B 7a2eb127505c001bf8b70c03bd2ad4295f74ff4e85a9156e4f131d321fdad7195637888cea3c1773939c2135bf7cd3a7f4eae3fc0e5ab4add203d97ea39cefc6 SHA512 a14b2b418590fe190954bf2e04b3b017b3b319b797cbd06957d25cff10d3f0262a12dc648b15bf4f26cb024e3d06ed5f52cdf83f535d84dde205cbd0a8d9b44c DIST Nuitka-0.9.4.tar.gz 3857680 BLAKE2B 9fb9199896da02e3b370db7010fed4171c709742ee131a751d7f17afdac9a3a82e746cf1efbf6c83ab5995593b07259e91e18e61f8e844520b271dfb8dc46540 SHA512 2e8ae659a5b46331105b6b8d861ec4f38d0ba818850ca1639ddb7b5d07e0a373d24df6b433d34debd8d2b33671efc8df5a3a43d4931aaaec6cc5b12d10611ca6 +DIST Nuitka-0.9.5.tar.gz 3858378 BLAKE2B 0b8aa2b191caaa348fda81af41d7a4ad486479742acb929c6e0f0c1ec08b06ca02c5cae46b986c569a8bb792e15fbb90e49db9ece3b226d4e09c054b4311f079 SHA512 4e0def27cc12f4b37debb509c015ba9e56649e82ecede31c142b7c420424364fb243932bd146397bfb82aea1591a06566b346a1b2c6d64cf26cdc59eb77cf875 DIST Nuitka-0.9.tar.gz 3855240 BLAKE2B 59a508aabb04af0b841879a4de23fe9f9f8ea2588125127834319da21ef22ab530d8e39a2baba1b49043e9997dff9a20004fc548af5b09456b5eb3cd8f1d30a8 SHA512 ae2903e89233b7944e1ee1aa846897d30c352302bb8b064a31ab69237dc15ed0e451bba63db5530968e10f60b8da745bf7d7f1f130ff039d9aac2329f628f32f diff --git a/dev-python/nuitka/nuitka-0.9.5.ebuild b/dev-python/nuitka/nuitka-0.9.5.ebuild new file mode 100644 index 000000000000..3574a8ce15f5 --- /dev/null +++ b/dev-python/nuitka/nuitka-0.9.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE="https://www.nuitka.net" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 408b758befd2..d5f844b07c21 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,3 +1,4 @@ DIST pikepdf-5.2.0.gh.tar.gz 2359546 BLAKE2B 953a5268eb7dc52934967b593237bb3006ee35e7a1657c0721ef4cdc874c9c51d7920fbdb7e38f67e221b01536166b8811a95021668491e8c783f51a08f49144 SHA512 f36ec09017aeac547c2b4ef17de7513293e8bf243707cb9c0c03826973be266847d8514002be546ac958a735e29765df94efdaecde6ad5f901c329dadc3e9451 DIST pikepdf-5.3.1.gh.tar.gz 2360816 BLAKE2B 02b36814144acbf05cf50d8bca6542271208af0ed7548dd8f41493b6e95183851033a3d4f3335f10d4bf6798606e9031aa2b38d28a9e824692fe8f78f1e68077 SHA512 b0256533011dae384ce657200db69b6e3ac93b4364fe55a2e0fb8fb2d993550dcfe4e05b723b81d62ed1db3cd544023e81a9e70fd807bcfb618f125ae5a35117 DIST pikepdf-5.3.2.gh.tar.gz 2886857 BLAKE2B 343006c8123bd814a93d1863442e9fdf80d93ae020ae6b4471cbae640653e74f3652c7c3e32d2e5ec68f5425f24a34543c0d712d78320d46db9bdb8db64ce1bb SHA512 3586a8f33550698d9b49852d741ebea7fd06e3afdbd7f1ed74ba7d9f8bbc086ff35ed964dd065f1e764f6690b3a708440eee97857591829a565acf2f0702ae33 +DIST pikepdf-5.4.0.gh.tar.gz 2891493 BLAKE2B 12aec9e7fe22c9e372886bdf3c32d509f13a92fe0526469445f801ecb3b92d8fb27ad817bee6fc1845a3057d6fe56cfde5712907e9a89fc16412a1528e988504 SHA512 5be5f1d79a4fb9119aa4aed8fd4e0d02f53a7affe39c8b019aad3717b20ec303e8dbd3ac19d57e099c591ea7a29cbaf786b40d5235850f756bc17fe5335324fd diff --git a/dev-python/pikepdf/pikepdf-5.4.0.ebuild b/dev-python/pikepdf/pikepdf-5.4.0.ebuild new file mode 100644 index 000000000000..cea416014946 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-5.4.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=app-text/qpdf-10.6.2:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index 86e870e272e8..4ce0bee6bd04 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -1 +1,2 @@ DIST pygobject-3.42.1.tar.xz 557904 BLAKE2B 5264c1b187210622548203e0df5089262ea0b3e93d9e46679030b4722e74f1993f200cfe9357c389357902bcdfdb13c8fd9cc9d6efa3b5fa0f730c3b54017fe5 SHA512 b044d395f8334057be632fd56f670ae8405d9fc375bcbd7a0a3b2dcfb8efb06bad45e62e92d2ee5432e503642dba11d6f9bf91f26bf135fa5f9a871657105a18 +DIST pygobject-3.42.2.tar.xz 558724 BLAKE2B 3e98cf52e818eff42beb8b6120ee8eb4cbe3a6f49670d355e1081b71d411bc93fc701cc37108a321cfcc19698c39b8b61cce5a9369d871da58fd2a2c0455fb96 SHA512 eb604f839e0702e8aeff0f19665e44c05c56cae02ce892e9ab8a95ddb0d5d0216182d0c9a0059fc8e05990c0d5707f2f7456d8924bbfb95ce1d9a42908ac0119 diff --git a/dev-python/pygobject/pygobject-3.42.2.ebuild b/dev-python/pygobject/pygobject-3.42.2.ebuild new file mode 100644 index 000000000000..f647e102acc9 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.42.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit gnome.org meson virtualx xdg distutils-r1 + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE="https://pygobject.readthedocs.io/" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.56:2 + >=dev-libs/gobject-introspection-1.56:= + dev-libs/libffi:= + cairo? ( + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + x11-libs/cairo[glib] + ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +python_configure() { + meson_src_configure \ + $(meson_feature cairo pycairo) \ + $(meson_use test tests) \ + -Dpython="${EPYTHON}" +} + +python_compile() { + meson_src_compile +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}" +} + +python_install() { + meson_src_install +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/pytest-subtesthack/Manifest b/dev-python/pytest-subtesthack/Manifest index ec39bdad2850..eb068bca34c4 100644 --- a/dev-python/pytest-subtesthack/Manifest +++ b/dev-python/pytest-subtesthack/Manifest @@ -1 +1,2 @@ DIST pytest-subtesthack-0.1.2.tar.gz 2669 BLAKE2B f1f5a052f9418732de4a97ff438d280d177860439e667e29ff0d0503740e009c88046b5ba859884e5fa9e958ea1be7388d7fc6838c19e44075ab0ef757ee41c7 SHA512 ddb7b0c27f912bec31e58ddc54930e229755df8980d146c861f7f1c766ae742b4f1552117d89638bdbd443f22890262320a56565954ebc6deeae6184f459a5a8 +DIST pytest-subtesthack-0.2.0.gh.tar.gz 2886 BLAKE2B e4e34ff73c7dfe92bed94d40fef168a3420879ba4a28eccb66ae7549d895b0ca7885be57178a6403661b57578f55ac3c5dbcaa090d2b658da770e0cabb0f3a75 SHA512 8b4f5ee2b07a8bcfa11934f5f207b9418810a708be7b8ccc0f19a4a4b979bbc60e993f0f2a5158482bc0162364bc96717e1ecda6743832ba121dfef9cfca9dd5 diff --git a/dev-python/pytest-subtesthack/pytest-subtesthack-0.2.0.ebuild b/dev-python/pytest-subtesthack/pytest-subtesthack-0.2.0.ebuild new file mode 100644 index 000000000000..9e305d0dfacb --- /dev/null +++ b/dev-python/pytest-subtesthack/pytest-subtesthack-0.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test" +HOMEPAGE=" + https://github.com/untitaker/pytest-subtesthack/ + https://pypi.org/project/pytest-subtesthack/ +" +SRC_URI=" + https://github.com/untitaker/pytest-subtesthack/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index 09435e4f03d0..310b6e67c86a 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1,3 +1,4 @@ DIST python-dbusmock-0.27.5.tar.gz 89775 BLAKE2B 316bb1ae06c894702d54b7a54d0c422a877c50fb7e8aa4a1bb3c9ac342acdec8f6adaafea86afa5aa041414a283fdd284e27b58728efa234fb8bcbbf92b25f27 SHA512 6e5f5eddfc949c610b64a766434988c142397893e088b8522e6895e31383ec3c14d2f053f9aab17f00137e883a01bf95be35326f7ca97ee8c9780d6704e7d1dc DIST python-dbusmock-0.28.0.gh.tar.gz 85445 BLAKE2B 65038699f11de8fd8c50937023c1da113964ea81f39ba151bddf9cb69021c33f3de67b9fe5f7ac5d0a484f324b705b83d462fd1ffbab642d827ef1a3d82460a4 SHA512 62db0e6e8292f0d6426ec6f13af9aada8175ea5d5e84bf4d3890f0c3897c0ea06295de0625ec6041a86bb688fad28d6da9a1b3310daafeae4e56d7a596a90092 DIST python-dbusmock-0.28.1.gh.tar.gz 85927 BLAKE2B f513e571f7aa30f19a86eb12439028ef141016d0a2df8684bf92378081ce6f8675c6f2033ab2f2dd27f9687ae3de09e1c36127d3b9468ae5239f17eeff861bfd SHA512 92fafa96f5c3dc216e25092a35a70775f1af257eb6ef3c3df00fa3ea062e1bf366f8c2113604ec1fc480d5586b0c1aeb72ce6d25447752b33591b15f637ca6ef +DIST python-dbusmock-0.28.2.gh.tar.gz 95023 BLAKE2B fd3d900cce8d39c6d9c222805de9d24d3127ce3b55f8689c3757db9ef13087dac3c606213bf6d86fc347799c7291469c5059e5ad4f31d8aa5e18856d74998d09 SHA512 13e3c175523abe3bd69f41ff942a59ce1f76ad8de81c2a981b32ce470ea7ab2bf9a14e6ce84280d5e96bb608e47488fd3f4ff88b7f9135b612b3b34a2e1579cb diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.2.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.2.ebuild new file mode 100644 index 000000000000..082b5a9bc103 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.28.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE=" + https://github.com/martinpitt/python-dbusmock/ + https://pypi.org/project/python-dbusmock/ +" +SRC_URI=" + https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +src_prepare() { + # needed for unittest discovery + > tests/__init__.py || die + # linter tests, fragile to newer linter versions + rm tests/test_code.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch b/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch deleted file mode 100644 index 1f516c79acb2..000000000000 --- a/dev-python/python-evdev/files/python-evdev-1.5.0-python311.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/evdev/eventio_async.py b/evdev/eventio_async.py -index 77542a4..68225c3 100644 ---- a/evdev/eventio_async.py -+++ b/evdev/eventio_async.py -@@ -85,8 +85,7 @@ class ReadIterator(object): - def __aiter__(self): - return self - -- @asyncio.coroutine -- def __anext__(self): -+ async def __anext__(self): - future = asyncio.Future() - try: - # Read from the previous batch of events. diff --git a/dev-python/python-evdev/python-evdev-1.5.0.ebuild b/dev-python/python-evdev/python-evdev-1.5.0-r1.ebuild index 5fd0c900e87c..dd2e59170481 100644 --- a/dev-python/python-evdev/python-evdev-1.5.0.ebuild +++ b/dev-python/python-evdev/python-evdev-1.5.0-r1.ebuild @@ -21,11 +21,6 @@ KEYWORDS="amd64 ~arm x86" distutils_enable_tests pytest -PATCHES=( - # https://github.com/gvalkov/python-evdev/pull/174 - "${FILESDIR}/${P}-python311.patch" -) - EPYTEST_DESELECT=( tests/test_uinput.py ) diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest index 17e4557237c9..ccc377e34f8d 100644 --- a/dev-python/wand/Manifest +++ b/dev-python/wand/Manifest @@ -1 +1,2 @@ DIST Wand-0.6.7.tar.gz 11686093 BLAKE2B 58abbdc22eb1603ed42e2e2473c0ed2b9026c9c0a499bb885512b56ecf01fb4ffe450979808bba2b4c4466994f86bea9a9c0ced216f8338c845b96a755f39c9f SHA512 e79ecb909f6ad7b3ddae217bb7b27f3c010d22a40eb99866e2a6eb07346000acbead280176e3352da13c20b68a341c751c55d6203bef7968522c8dbcfcab0b06 +DIST Wand-0.6.8.tar.gz 11884527 BLAKE2B 45784abf55682d8b5e101cc4fc93f0492f9275a2805f06dbda2d98e28c6359c7df84fd7870b12348c0a6c513ae3f2bafba61a00020a41263d6a91fd67d9ce682 SHA512 111eef211edd8d5a6c825f0b455db5510c91b43852165934dbab36a9cdeea7e920987c98d975fb8c7f82ac19f20867c0ed5c8c1e2f9dd9467bc30931b4a03dd1 diff --git a/dev-python/wand/wand-0.6.8.ebuild b/dev-python/wand/wand-0.6.8.ebuild new file mode 100644 index 000000000000..9ddf8c8f4ae6 --- /dev/null +++ b/dev-python/wand/wand-0.6.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P=${P^} +DESCRIPTION="Ctypes-based simple ImageMagick binding for Python" +HOMEPAGE=" + https://docs.wand-py.org/ + https://github.com/emcconville/wand/ + https://pypi.org/project/Wand/ +" +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-gfx/imagemagick +" +BDEPEND=" + test? ( + media-gfx/imagemagick[fftw,jpeg,png,truetype,xml] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_test() { + # PDF support is blocked by the default ImageMagick security policy + epytest --skip-pdf +} |
