mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
skel_python: cleanup
This commit is contained in:
parent
bc9cf8f7a3
commit
303176a5a8
2 changed files with 5 additions and 7 deletions
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
EAPI=8
|
||||
|
||||
# https://projects.gentoo.org/python/guide/distutils.html#pep-517-build-systems
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
|
|
@ -11,15 +10,14 @@ inherit distutils-r1 pypi
|
|||
|
||||
DESCRIPTION=""
|
||||
HOMEPAGE=""
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/xyz[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
#distutils_enable_tests pytest
|
||||
|
|
|
|||
|
|
@ -99,9 +99,9 @@ def pyproject_toml():
|
|||
if type(value) is dict:
|
||||
value="9999"
|
||||
if value == "*":
|
||||
print("\t"+portage_mapping("dev-python/" +key))
|
||||
print("\t"+portage_mapping("dev-python/" +key) +"[${PYTHON_USEDEP}]")
|
||||
else:
|
||||
print("\t>="+portage_mapping("dev-python/" + key + '-' + value.replace('^','')))
|
||||
print("\t>="+portage_mapping("dev-python/" + key + '-' + value.replace('^','')) + "[${PYTHON_USEDEP}]")
|
||||
|
||||
def distutils_setup():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue