dev-python/jaraco-context: new package, add 4.3.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-12 09:30:57 +01:00 committed by Andreas Billmeier
parent c0609b5e4b
commit ec8298046a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST jaraco-context-4.3.0.tar.gz 9764 BLAKE2B 2905723ec54c6ae63b2088d677cd486dcdc06dfea06bb058eeb512da508b2ae74990894cb62f3751321cb4c813b66ffe9a3084b21eb0cb4236a9515969432dfc SHA512 8882229fa1a68f2733ec4103fbeaf47625b19790f4461ab18df4c1f1a99d4d26d10d7381ab68ba5df48616a1fdb2d5e4a767496a0e40658fd011ed9cd39255de
EBUILD jaraco-context-4.3.0.ebuild 746 BLAKE2B 0aa7b8dd81eece27c8aff9b29759cc366091285dd361ec344e06ee09691d2f0841432d77beda845595e19c2c8663080b3ff5580a1ea00668adabd9d51963a91c SHA512 e16e159f629e69f1184e0db4c3082ea67e908281a429c8234e326b77310c54fdaff84b61707b41ccbcb4c2c50e6ca94269e5bc5caa27e53f9dfeaecbc61d3d55
MISC metadata.xml 522 BLAKE2B 1dce7884cb15bbfcd6972a4c6c608e32477a51176692a91cdb1b4f6f6744a1e912154a7164e3ff4a181c8939639d04a4e681165a83327035e2a9af1da121f2a3 SHA512 9ff10df368ddde2fab7bbb770a5c5154130eba83560da365d4fc35321b916d471c6c3bb7874d1da30b6e78806681a36d78bf0bb2ba7a97a715523352889b0356

View File

@ -0,0 +1,34 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Context managers by jaraco"
HOMEPAGE="https://github.com/jaraco/jaraco.context https://pypi.org/project/jaraco.context/"
MY_PN=${PN/-/.}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">jaraco.context</remote-id>
<remote-id type="github">jaraco/jaraco.context</remote-id>
<maintainer status="unknown">
<email>jaraco@jaraco.com</email>
<name>Jason R. Coombs</name>
</maintainer>
</upstream>
</pkgmetadata>