mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
dev-python/chainstream: add 1.0.2
Closes: https://bugs.gentoo.org/952322 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST chainstream-1.0.1.tar.gz 3160 BLAKE2B 1aa8f9323cbb0f71c4bb7ab1aa709f369cc836b12b946de3d5e4a9beb4acb4d6a7d63642285fc3572eb6d85243bb08d9d387c02e768342cb1a90f91bf7b404bc SHA512 5badc4ef451ea208acf5acfe80a24541e2bbb8edfe43cca0cdac7d229d6a68c2df07d2c83d71d8d4251bc0d4b443952d0cdad638f603a85f4f4657717d0bcbac
|
||||
DIST chainstream-1.0.2.tar.gz 3434 BLAKE2B 1cb8cd9af284dbfc2e55c9813a0c486d66d91e10a3515c6055777bc1aa6de232ee28343da900cd42d39b73202c891b3bae11e00ff51c5ad13c830a4fb5d164bd SHA512 5f53e9c89cfc719da959d8428f7575cbdb84a2d0421d6b05731bf6e6f5ff43b460b6554100dd8dac6498f69b52cdecb0cf3150d01c79f8537344d33ec8a7f9ff
|
||||
|
||||
29
dev-python/chainstream/chainstream-1.0.2.ebuild
Normal file
29
dev-python/chainstream/chainstream-1.0.2.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Chain I/O-Streams together into a single stream"
|
||||
HOMEPAGE="https://github.com/rrthomas/chainstream"
|
||||
SRC_URI="https://github.com/rrthomas/chainstream/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="CC-BY-SA-4.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
src_configure() {
|
||||
# upstream doesn't provide build system in pyproject.toml
|
||||
cat >> pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" test.py || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user