Commit a6d05f79 authored by Stefan Reiff's avatar Stefan Reiff Committed by Natanael Copa

main/py3-fasteners: drop py2

parent 3ac0cbe6
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py2-fasteners
pkgver=0.14.1
pkgname=py3-fasteners
pkgver=0.15
pkgrel=0
pkgdesc="A python package that provides useful locks"
url="https://github.com/harlowja/fasteners/"
arch="noarch"
license="Apache-2.0"
depends="python2 py2-monotonic py2-six"
makedepends="python2-dev py-setuptools"
depends="python3 py3-monotonic py3-six"
makedepends="python3-dev py3-setuptools"
source="fasteners-$pkgver.tar.gz::https://github.com/harlowja/fasteners/archive/$pkgver.tar.gz"
builddir="$srcdir/fasteners-$pkgver"
build() {
cd "$builddir"
python2 setup.py build
python3 setup.py build
}
check() {
cd "$builddir"
python2 setup.py check
python3 setup.py check
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="954d692b7f43563ba1413854c8dec2f5ff98757346c55aaa5f39e9aa777fb746bf4f9506beab6cfa149d5646db4b3de58d35bcef95e3128096c3346c9fd8015c fasteners-0.14.1.tar.gz"
sha512sums="0c77c7061c8b76d0d018b07a3d33fc71701842f5b686456ebf31069694baa27a6cc47196267f24bc296078e7503ab0709fa28c9f0088c3cf777ea0e133bb5832 fasteners-0.15.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment