diff options
Diffstat (limited to 'testing/py3-libarchive-c/APKBUILD')
-rw-r--r-- | testing/py3-libarchive-c/APKBUILD | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/py3-libarchive-c/APKBUILD b/testing/py3-libarchive-c/APKBUILD deleted file mode 100644 index 9b63bbb7b89..00000000000 --- a/testing/py3-libarchive-c/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=py3-libarchive-c -pkgver=2.9 -pkgrel=3 -pkgdesc="Python interface to libarchive" -url="https://github.com/Changaco/python-libarchive-c" -arch="noarch !mips !mips64" # essential tests fail on mips -license="CC0-1.0" -depends="libarchive python3" # uses ffi -makedepends="python3-dev libarchive-dev py3-setuptools" -checkdepends="py3-pytest py3-mock" -source="python-libarchive-c-$pkgver.tar.gz::https://github.com/Changaco/python-libarchive-c/archive/$pkgver.tar.gz - time64.patch" -builddir="$srcdir/python-libarchive-c-$pkgver" - -prepare() { - default_prepare - soname=$(scanelf --quiet --soname /usr/lib/libarchive.so | awk '{print $1}') - sed -i -e "s/find_library('archive')/find_library('$soname')/" libarchive/ffi.py -} - -build() { - python3 setup.py build -} - -check() { - py.test-3 -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="282791cef6ff67aefc238ce1b40783e3952b366fc5c464fe99557e81d91e8057b9ec339c52535917c251f9a9bffdd3ec2773c91cbb6c9881d9ecb8572cf0fc5b python-libarchive-c-2.9.tar.gz -24cbdbfeeb8f375bfdf4061dbdbd6bd40fbe5cd6b2c9f15c6b15814062121ede938c90b2b73cb5540ee7fedf56062a748d5b9b21b3d35327ce583be1d6e164ba time64.patch" |