[arch-commits] Commit in python-filelock/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Nov 4 01:25:24 UTC 2018


    Date: Sunday, November 4, 2018 @ 01:25:23
  Author: felixonmars
Revision: 401357

archrelease: copy trunk to community-any

Added:
  python-filelock/repos/community-any/PKGBUILD
    (from rev 401356, python-filelock/trunk/PKGBUILD)
Deleted:
  python-filelock/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 42 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 01:25:04 UTC (rev 401356)
+++ PKGBUILD	2018-11-04 01:25:23 UTC (rev 401357)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-filelock
-pkgname=(python-filelock python2-filelock)
-pkgver=3.0.9
-_commit=b71c3a494b1a9a84ddaa4a4d43bfd985a01e81e7
-pkgrel=1
-pkgdesc="A platform independent file lock"
-url="https://github.com/benediktschmitt/py-filelock"
-license=('custom:Unlicense')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/benediktschmitt/py-filelock/archive/$_commit.tar.gz")
-sha512sums=('bf2c3a27488e4e0b0469599c5037658482b27eee08ef1844de5419865a67f01966b72f1f463ce7418660901c991ad06740a90f332db0b2d3d62967f0f270aba9')
-
-prepare() {
-  mv py-filelock-{$_commit,$pkgver}
-}
-
-build() {
-  cd py-filelock-$pkgver
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd py-filelock-$pkgver
-  pytest test.py
-  pytest2 test.py
-}
-
-package_python-filelock() {
-  depends=('python')
-
-  cd py-filelock-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
-
-package_python2-filelock() {
-  depends=('python2')
-
-  cd py-filelock-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}

Copied: python-filelock/repos/community-any/PKGBUILD (from rev 401356, python-filelock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-04 01:25:23 UTC (rev 401357)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-filelock
+pkgname=(python-filelock python2-filelock)
+pkgver=3.0.10
+pkgrel=1
+pkgdesc="A platform independent file lock"
+url="https://github.com/benediktschmitt/py-filelock"
+license=('custom:Unlicense')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/benediktschmitt/py-filelock/archive/v$pkgver.tar.gz")
+sha512sums=('1fa4594eaba6689ea61149a60a71e86007297614a1c22dc6c94b4774520d396ff8ad03076dfdbb2ce49d2b6e42c374af065a115c167d81cf6107918abfbe52ef')
+
+build() {
+  cd py-filelock-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd py-filelock-$pkgver
+  pytest test.py
+  pytest2 test.py
+}
+
+package_python-filelock() {
+  depends=('python')
+
+  cd py-filelock-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-filelock() {
+  depends=('python2')
+
+  cd py-filelock-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}



More information about the arch-commits mailing list