Files
guru/dev-python/thriftrw/thriftrw-1.8.1.ebuild
Alessandro Barbieri 8fcdb64d7a dev-python/thriftrw: use github tarball
Closes: https://bugs.gentoo.org/818064
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-14 22:22:15 +02:00

38 lines
766 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A Thrift encoding library for Python"
HOMEPAGE="
https://github.com/thriftrw/thriftrw-python
https://pypi.org/project/thriftrw
"
SRC_URI="https://github.com/thriftrw/thriftrw-python/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/ply[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
>=dev-python/cython-0.17[${PYTHON_USEDEP}]
test? (
>=dev-python/pytest-benchmark-3.0.1[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/${P}-no-install-examples.patch"
"${FILESDIR}/${P}-tool-pytest.patch"
)
distutils_enable_tests pytest