aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-02-12 01:52:11 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2019-03-12 21:25:31 +0000
commit7dea3f7ebeeb0cb818a85da9395bb10ee62ffb02 (patch)
treedf4bd3bcd46fc6a3630035d2de41c924161108ba /testing
parentccff385f16acc69b6049befc9d429e742399fb9c (diff)
downloadaports-7dea3f7ebeeb0cb818a85da9395bb10ee62ffb02.tar.bz2
aports-7dea3f7ebeeb0cb818a85da9395bb10ee62ffb02.tar.xz
community/py-filelock: moved from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/py-filelock/APKBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/py-filelock/APKBUILD b/testing/py-filelock/APKBUILD
deleted file mode 100644
index 355c91706b..0000000000
--- a/testing/py-filelock/APKBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
-# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
-pkgname=py-filelock
-_pkgname=filelock
-pkgver=3.0.10
-pkgrel=0
-pkgdesc="A platform independent file lock for Python"
-url="https://github.com/benediktschmitt/py-filelock"
-arch="noarch"
-license="Unlicense"
-depends=""
-checkdepends="pytest"
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-source="$pkgname-$pkgver.tar.gz::https://github.com/benediktschmitt/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 -m pytest -xvv test.py
- python3 -m pytest -xvv test.py
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$depends $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="1fa4594eaba6689ea61149a60a71e86007297614a1c22dc6c94b4774520d396ff8ad03076dfdbb2ce49d2b6e42c374af065a115c167d81cf6107918abfbe52ef py-filelock-3.0.10.tar.gz"