dev-python/bencodepy - 4.0.0 (joecool-overlay)

Search

Package Information

Description:
Simple bencode parser (for Python 2, Python 3 and PyPy)
Homepage:
https://github.com/fuzeman/bencode.py
License:
BitTorrent-1.1

Ebuild Details

Version EAPI Keywords Slot
4.0.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..14} pypy3 )

inherit distutils-r1

MY_PN="bencode.py"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Simple bencode parser (for Python 2, Python 3 and PyPy)"
HOMEPAGE="https://github.com/fuzeman/bencode.py"
SRC_URI="https://github.com/fuzeman/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="BitTorrent-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

BDEPEND="
	dev-python/pbr[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]
"

export PBR_VERSION=${PV}

distutils_enable_tests pytest

Dependencies

BDEPEND

	dev-python/pbr[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]

Manifest for 4.0.0

Type File Size Source URLs
DIST bencode.py-4.0.0.tar.gz 17192 bytes https://github.com/fuzeman/bencode.py/archive/4.0.0.tar.gz