From 4840a8ef1b245f3c49c5488fdfa8f78d87b9fcf3 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Thu, 6 Jul 2023 15:54:13 -0700 Subject: [PATCH] dev-python/txtorcon: add 23.5.0 --- dev-python/txtorcon/Manifest | 1 + dev-python/txtorcon/txtorcon-23.5.0.ebuild | 39 ++++++++++++++++++++++ dev-python/txtorcon/txtorcon-9999.ebuild | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 dev-python/txtorcon/txtorcon-23.5.0.ebuild diff --git a/dev-python/txtorcon/Manifest b/dev-python/txtorcon/Manifest index 5dc9043..f60d5bd 100644 --- a/dev-python/txtorcon/Manifest +++ b/dev-python/txtorcon/Manifest @@ -1 +1,2 @@ DIST txtorcon-23.0.0.gh.tar.gz 393009 BLAKE2B 323187b8b85e5c902eae37953d173fbfea01a26096af27ace3651b909d40361ec1fcd980db18aa6f729820f1ac96af6bf3ca51f705d937a2d4b6956485b47366 SHA512 3f9ae81e499993605861cfdcbf3a718345e58c378ea71eeb5b833861893889f9b805dec06d2e0e35840f0c8ceab9cb2c1c2791f980aaaf5dd32a1de8e84d62e0 +DIST txtorcon-23.5.0.gh.tar.gz 394188 BLAKE2B ee63d2815a9b697aa37d27697ef6085dc91e750ba0cad854c8610eed7afcfec9b50cf5aead24f75676e2b0ee39167c50fbebc43a51911a3ebe17eb784b18d31e SHA512 33610c043084273f5dc06b797fff11bb0fccaae14229dbd07286e13e40ebc199594f6e52c64b87e4060e37bcb44bd90ccf7ff7217d923fdb33a581fb95144d56 diff --git a/dev-python/txtorcon/txtorcon-23.5.0.ebuild b/dev-python/txtorcon/txtorcon-23.5.0.ebuild new file mode 100644 index 0000000..4685e1a --- /dev/null +++ b/dev-python/txtorcon/txtorcon-23.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..12} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/meejah/txtorcon.git" +else + SRC_URI="https://github.com/meejah/txtorcon/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Tor control protocol implementation for Python" +HOMEPAGE="https://github.com/meejah/txtorcon" +LICENSE="MIT" +SLOT="0" + +DEPEND="" +RDEPEND=" + >=dev-python/twisted-22.4.0-r2[${PYTHON_USEDEP},ssl] + >=dev-python/zope-interface-3.6.1[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/automat[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + sys-process/lsof + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/txtorcon/txtorcon-9999.ebuild b/dev-python/txtorcon/txtorcon-9999.ebuild index 0502337..4685e1a 100644 --- a/dev-python/txtorcon/txtorcon-9999.ebuild +++ b/dev-python/txtorcon/txtorcon-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{8..12} ) inherit distutils-r1