mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/python-pskc: new package, add 1.4, 9999
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/45572 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
db8a3c8e77
commit
1aff0bc2de
1
dev-python/python-pskc/Manifest
Normal file
1
dev-python/python-pskc/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST python_pskc-1.4.tar.gz 138221 BLAKE2B b58eea688007ff1fc8895aafc249ef1e5ab97e797ab2ce8c928cc33f58e87068ab09088f2033af8b2bbea719dc82bf2fce98a3c0206c991938e7569f3bc94d2d SHA512 e2e1999dc108936b91d19b015a446387db11d8d166a2e25a151da0080bd68f91bf701bab1ff02e04862da95991a8d399fbe0389483788451f1d7fcd588df2c06
|
||||
17
dev-python/python-pskc/metadata.xml
Normal file
17
dev-python/python-pskc/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>mario.haustein@hrz.tu-chemnitz.de</email>
|
||||
<name>Mario Haustein</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">arthurdejong/python-pskc</remote-id>
|
||||
<remote-id type="pypi">python-pskc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
42
dev-python/python-pskc/python-pskc-1.4.ebuild
Normal file
42
dev-python/python-pskc/python-pskc-1.4.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module for handling Portable Symmetric Key Container files"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/python-pskc/
|
||||
https://arthurdejong.org/python-pskc/
|
||||
https://github.com/arthurdejong/python-pskc
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://arthurdejong.org/git/python-pskc"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/signxml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s/ --cov=pskc --cov-report=term-missing:skip-covered --cov-report=html//" "${S}/setup.cfg" || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
42
dev-python/python-pskc/python-pskc-9999.ebuild
Normal file
42
dev-python/python-pskc/python-pskc-9999.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module for handling Portable Symmetric Key Container files"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/python-pskc/
|
||||
https://arthurdejong.org/python-pskc/
|
||||
https://github.com/arthurdejong/python-pskc
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://arthurdejong.org/git/python-pskc"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||
dev-python/signxml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s/ --cov=pskc --cov-report=term-missing:skip-covered --cov-report=html//" "${S}/setup.cfg" || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user