asn1tools-0.167.0.ebuild

This commit is contained in:
Anton Bolshakov 2025-11-03 10:24:36 +08:00
parent 7840a7e2d8
commit 1c6de90cab
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 42 additions and 4 deletions

View file

@ -1 +1,2 @@
DIST asn1tools-0.163.0.tar.gz 863376 BLAKE2B b5aa1f28092cbb92e4f371f8979fb1a0f3f78123bad70b5e3a83857ceb1f2ca32d04c7551a93d9d1a7f7537cca465ed08abbc46dea064deb1fa48241e0902ba1 SHA512 392b9b639d4d608d2a1e5669895ffae285093a41321039ace7b44c379d49913a0f0d0bfb0157382104c41d30e823c86d53b434d987cf523f36edf9c2ef128e81
DIST asn1tools-0.167.0.tar.gz 864481 BLAKE2B 3ffd19483d36d515cbb2b1fa804fa1d834c899c2e6f4b38fcbc002bd6f11d7e46ce4769352e3c13086a291ca858bbc14925fb1bbc39b29b868cc8015c8d5c632 SHA512 79e2d75c9691dbeab67026679a0e25677a999b73bc7ac193a999f36b041d859df74c5d80a4e7b0210f1ebd0e63b70349003d2df5cd779948d1987be2de57757c

View file

@ -6,14 +6,14 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="ASN.1 parsing, encoding and decoding"
HOMEPAGE="
https://github.com/eerimoq/asn1tools
https://pypi.org/project/asn1tools
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"

View file

@ -0,0 +1,32 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="ASN.1 parsing, encoding and decoding"
HOMEPAGE="
https://github.com/eerimoq/asn1tools
https://pypi.org/project/asn1tools
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="cache shell test"
RDEPEND=">=dev-python/pyparsing-3.0.6[${PYTHON_USEDEP}]
dev-python/bitstruct[${PYTHON_USEDEP}]
shell? ( dev-python/prompt-toolkit[${PYTHON_USEDEP}] )
cache? ( dev-python/diskcache[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
distutils_enable_tests unittest

View file

@ -7,7 +7,12 @@
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">asn1crypto</remote-id>
<remote-id type="github">wbond/asn1crypto</remote-id>
<remote-id type="pypi">asn1tools</remote-id>
<remote-id type="github">eerimoq/asn1tools</remote-id>
</upstream>
<use>
<flag name="shell">Use <pkg>dev-python/prompt-toolkit</pkg> to use shell subcommand</flag>
<flag name="cache">Use <pkg>dev-python/diskcache</pkg> to speed up drawing to the max</flag>
</use>
</pkgmetadata>