diff options
Diffstat (limited to 'dev-python/poetry-core')
-rw-r--r-- | dev-python/poetry-core/Manifest | 2 | ||||
-rw-r--r-- | dev-python/poetry-core/poetry-core-1.5.1.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index dc0476e4ff54..90236f16c373 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1,5 +1,7 @@ DIST poetry-core-1.4.0.gh.tar.gz 556575 BLAKE2B 6a0860f965bb7d554f1f13c46d76727b9a763dd3dc04a1d889ca894c30ad91e46931308981560fadf70348731f080322da9c9590248b7877e02eb81f4009e02a SHA512 31c9b42ae8e4ec5c4cec93604a5ea72642fb89717867d7f43fdf930835c7e1da97b0251870d86841c30b1bf0ee7b167fc6a8dcfe939beb5b40acd7e24dfaede7 DIST poetry-core-1.5.0.gh.tar.gz 478924 BLAKE2B 54653b6a8dcac08ac732ccb8efd2ff0404e6e78e7e2f6981fca2aafc53144309372389cc11d2524470ff25b0fc3ade5039df850629fefe016b6e9860f09d3247 SHA512 18b62096f32b7e57abc296bd8e35d0802873563c83e19b0e6e5f9994edaa503e05b9a782a6612d28b8544e34efc92efe213dcd5b595ec1d217e678522df3ae31 +DIST poetry-core-1.5.1.gh.tar.gz 479091 BLAKE2B ff59460a75893c18f9ad0063a880b40c6cff108d03c7f7bd16aaab53a72bf8af2c08af949c448e8703390589112e26c19e9ea9ddfaf2bed69791f86293b62b1c SHA512 ffc2cf6a37175feebe6ae926250d20ebf5742f459824f54b7ad8ea0f65c28639ef1e90a3cbd31bf58fca19d45699c5a22a583cefb5d60795d7e92399bdd1a421 EBUILD poetry-core-1.4.0.ebuild 1625 BLAKE2B feca07705fd9b6cda44f94ee0024b7de25124317fc834f75ac416237d3a51ff09e05431971ad74ef3553fb973d396a8eaca25a4e3589162892a28703905d435e SHA512 7109537e69a5e171d1f8e751c308cde5026ba8b16404bf1831bb9cdcf3de234f4a4698a99020b3b42e7b5ee2f6dc07b1ef4c7a1b7b001d0eea4d769933349942 EBUILD poetry-core-1.5.0.ebuild 1647 BLAKE2B d391338addd8ccabaa967d6db612b370b10bdd467880f737fb800b7e03ee71012b5d0158c12b205885a89838465f734b5c03796cc55bb5e8dc41249085af078e SHA512 a0452020476311542e99a9478af9fe626eaa389415327b3631ca22b118344a50857727079ae701b0dbd74638cea9a1802d5c9da280d1433d78a2c8da53a5582b +EBUILD poetry-core-1.5.1.ebuild 1647 BLAKE2B d391338addd8ccabaa967d6db612b370b10bdd467880f737fb800b7e03ee71012b5d0158c12b205885a89838465f734b5c03796cc55bb5e8dc41249085af078e SHA512 a0452020476311542e99a9478af9fe626eaa389415327b3631ca22b118344a50857727079ae701b0dbd74638cea9a1802d5c9da280d1433d78a2c8da53a5582b MISC metadata.xml 382 BLAKE2B 82dfc3f146cf3b669fed67ab2e21694b00d5473fdf855cae9fb3a0481785b32c4cf1ed9743a5d64cd055c1cb544377f936a9ec26c9d1dec2cf5fbef6749f5587 SHA512 032fd4dca8f8138c2b527e517f041889e15600ccca876fc3c9e53050196186ad2a9346168bce9c4bae7ffd8a77ff4dd19cc2559fd1da1fd4c7c181056fd49a13 diff --git a/dev-python/poetry-core/poetry-core-1.5.1.ebuild b/dev-python/poetry-core/poetry-core-1.5.1.ebuild new file mode 100644 index 000000000000..1288ab17d4bc --- /dev/null +++ b/dev-python/poetry-core/poetry-core-1.5.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE=" + https://github.com/python-poetry/poetry-core/ + https://pypi.org/project/poetry-core/ +" +SRC_URI=" + https://github.com/python-poetry/poetry-core/archive/${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" + +# check inside src/poetry/core/_vendor/vendor.txt +# (note that some are indirect deps) +RDEPEND=" + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lark[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pep517[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # These "fail" bacause of glob file path resulting from newer versions + # in our tree than vendored. But those don't affect anything. + tests/masonry/builders/test_sdist.py::test_default_with_excluded_data + tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data +) + +src_prepare() { + # remove vendoring of dependencies + rm -r src/poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die + + distutils-r1_src_prepare +} + +python_test() { + # needed for migration from <1.1 + distutils_write_namespace poetry + epytest +} |