Browse Source

[community-testing] -> [community] 'python-filelock-3.4.0-3' move

master
Qontinuum 5 months ago
parent
commit
e8ada993c8
  1. 32
      x86_64/community-testing/PKGBUILD
  2. 2
      x86_64/community/PKGBUILD

32
x86_64/community-testing/PKGBUILD

@ -1,32 +0,0 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-filelock
pkgver=3.4.0
pkgrel=3
pkgdesc="A platform independent file lock"
url="https://github.com/benediktschmitt/py-filelock"
license=('custom:Unlicense')
arch=('any')
depends=('python')
makedepends=('python-setuptools' 'python-setuptools-scm')
checkdepends=('python-pytest' 'python-pytest-timeout')
source=("$pkgname-$pkgver.tar.gz::https://github.com/benediktschmitt/py-filelock/archive/$pkgver.tar.gz")
sha512sums=('0dc85f083a8c60605dfbd0b6fe55a96b5872e5b8ce3fd746925444571d02e243459bed6cd2d8aa9d7eda7d197bdc31b289cfcf1f0aef295779ca900d24abcbd8')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
build() {
cd py-filelock-$pkgver
python setup.py build
}
check() {
cd py-filelock-$pkgver
PYTHONPATH=src pytest tests
}
package() {
cd py-filelock-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}

2
x86_64/community/PKGBUILD

@ -2,7 +2,7 @@
pkgname=python-filelock
pkgver=3.4.0
pkgrel=1
pkgrel=3
pkgdesc="A platform independent file lock"
url="https://github.com/benediktschmitt/py-filelock"
license=('custom:Unlicense')

Loading…
Cancel
Save