dev-python/simplesat: add PYTHON_USEDEP, fix license_files
The runtime dependencies lacked `[${PYTHON_USEDEP}]`, so they could be installed for
a different Python target. `dev-python/mock` is only imported by the tests, so it
moves to the test dependencies. `license_files = file: LICENSE.txt` is not a valid
glob, and the long description named a CHANGES.rst that the sdist does not ship.
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
c069cb7c47
commit
64c8f5d7e5
2 files changed
+16
-4
No files matched your search
@@ -1 +1,2 @@
|
||||
DIST simplesat-0.9.2.tar.gz 225589 BLAKE2B 25cb3ef07d312726fb0a2420f6231e33bd94e25ceadd76b436f2b4b678bfa966140d2cf9109120d5a8b9d797aa4f17d41e86b3167bad78c8b06d5ebbee248f03 SHA512 fdfb9d8b153367974083deec5e4016b2ffdf864e7765e0b0255811de62bc3d0732ee9db622cf541ac2b3ac203667e589712d02c9a61c75b1bb26c6e609f931d2
|
||||
DIST simplesat-0.9.2.tar.gz.provenance 9320 BLAKE2B 6a918b976730fa51b94f70e1c490981563df0e96c0e08c2bc0dabf5e35b807034f00c06272e924543128ca0b1ee640e4e1a0ce66098c6c908c8a4655ae7ef4a0 SHA512 160ec8d1bc66f72352d3f10985f34c7fe870982f9f93da86f3a00632a8e5739297712758b0335327c921568b72604e8230e6e79e66bf9a5da271ff5c11838208
|
||||
+15
-4
@@ -6,6 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
PYPI_VERIFY_REPO="https://github.com/enthought/sat-solver"
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Prototype for SAT-based dependency handling"
|
||||
@@ -19,10 +20,20 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-17.4.0
|
||||
>=dev-python/okonomiyaki-0.16.6
|
||||
>=dev-python/six-1.10.0
|
||||
dev-python/mock
|
||||
>=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/okonomiyaki-0.16.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
sed -i -e 's/^license_files = file: /license_files = /' -e 's/, CHANGES.rst$//' setup.cfg || die
|
||||
}
|
||||
Reference in new issue
Block a user