New package: python3-reflink-0.2.1
This commit is contained in:
parent
41b694fc3d
commit
ebe90848d1
2 changed files with 44 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
||||||
|
--- a/setup.py 2021-10-06 20:25:26.847727634 -0400
|
||||||
|
+++ b/setup.py 2021-10-06 20:25:54.167862198 -0400
|
||||||
|
@@ -18,11 +18,6 @@
|
||||||
|
'cffi',
|
||||||
|
]
|
||||||
|
|
||||||
|
-setup_requirements = [
|
||||||
|
- 'cffi',
|
||||||
|
- 'pytest-runner',
|
||||||
|
-]
|
||||||
|
-
|
||||||
|
test_requirements = [
|
||||||
|
'pytest',
|
||||||
|
]
|
||||||
|
@@ -60,6 +55,5 @@
|
||||||
|
],
|
||||||
|
test_suite='tests',
|
||||||
|
tests_require=test_requirements,
|
||||||
|
- setup_requires=setup_requirements,
|
||||||
|
cffi_modules=["reflink/native.py:ffibuilder"]
|
||||||
|
)
|
23
srcpkgs/python3-reflink/template
Normal file
23
srcpkgs/python3-reflink/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'python3-reflink'
|
||||||
|
pkgname=python3-reflink
|
||||||
|
version=0.2.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="reflink-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
makedepends="python3-devel python3-cffi"
|
||||||
|
depends="python3-cffi"
|
||||||
|
short_desc="Python wrapper around the reflink system calls"
|
||||||
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://gitlab.com/rubdos/pyreflink"
|
||||||
|
distfiles="${PYPI_SITE}/r/reflink/reflink-${version}.tar.gz"
|
||||||
|
checksum=c9253582db24413bfd703abfc1b2a49de78f31b4907239f286e9a1929a1e6e3a
|
||||||
|
# test suite includes calls to mount/umount and writing to /dev which fail due
|
||||||
|
# to chroot-util-linux not including mount/umount and no permissions,
|
||||||
|
# respectively
|
||||||
|
make_check=no
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue