gentoo/dev-python/sabctools/sabctools-9.3.0.ebuild
Sam James bcda2e541d
Revert "dev-python/sabctools: Remove old"
This reverts commit dff357a8bc1dfaf991ee41ae3a54734c0dc46ebf.

dev-python/sabctools
  FileUnknown: version 8.2.6, line 30, column 11: sabctools-8.2.6-py314testfix.patch

Signed-off-by: Sam James <sam@gentoo.org>
2026-04-05 20:00:43 +01:00

41 lines
782 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
MY_PN="sabctools"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd"
HOMEPAGE="
https://github.com/sabnzbd/sabctools/
https://pypi.org/project/sabctools/
"
SRC_URI="
https://github.com/sabnzbd/${MY_PN}/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
test? (
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/portend[${PYTHON_USEDEP}]
)
"
DOCS=( README.md doc/yenc-draft.1.3.txt )
EPYTEST_PLUGINS=()
distutils_enable_tests pytest