mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/pyzstd: new package, add 0.16.2
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
1
dev-python/pyzstd/Manifest
Normal file
1
dev-python/pyzstd/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pyzstd-0.16.2.tar.gz 789505 BLAKE2B 268e543ba14395d50351ca8ddd39aba829a910bd529ef50967e6b695ef9ffd7ea3ac879ecabeb369c53b02a7adec50018e0528765d78bed92d9d6761e8cd9690 SHA512 b5660248f86bc84bc9d64da20ca7f5f56ac0d831170292e71b475e06480b13074c3de92d796e0e1858adfa0dbd272c37b31e6dc772c2239011690429adb112e2
|
||||
12
dev-python/pyzstd/metadata.xml
Normal file
12
dev-python/pyzstd/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pastalian46@gmail.com</email>
|
||||
<name>Takuya Wakazono</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Rogdham/pyzstd</remote-id>
|
||||
<remote-id type="pypi">pyzstd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
39
dev-python/pyzstd/pyzstd-0.16.2.ebuild
Normal file
39
dev-python/pyzstd/pyzstd-0.16.2.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2025 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..13} )
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python bindings to Zstandard (zstd) compression library"
|
||||
HOMEPAGE="
|
||||
https://github.com/Rogdham/pyzstd
|
||||
https://pypi.org/project/pyzstd/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="app-arch/zstd:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# we don't need the custom build backend
|
||||
sed -i 's/pyzstd_pep517/setuptools.build_meta/' pyproject.toml || die
|
||||
sed -i "s/'-g0', '-flto'//" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
DISTUTILS_ARGS=( --dynamic-link-zstd )
|
||||
}
|
||||
|
||||
python_test() {
|
||||
eunittest tests
|
||||
}
|
||||
Reference in New Issue
Block a user