[arch-commits] Commit in python-cachetools/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 16:40:15 UTC 2019
Date: Thursday, October 31, 2019 @ 16:40:14
Author: felixonmars
Revision: 521120
archrelease: copy trunk to community-staging-any
Added:
python-cachetools/repos/community-staging-any/PKGBUILD
(from rev 521119, python-cachetools/trunk/PKGBUILD)
Deleted:
python-cachetools/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:40:09 UTC (rev 521119)
+++ PKGBUILD 2019-10-31 16:40:14 UTC (rev 521120)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cachetools
-pkgname=(python-cachetools python2-cachetools)
-pkgver=3.1.1
-pkgrel=2
-pkgdesc="Extensible memoizing collections and decorators"
-url="https://github.com/tkem/cachetools"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz")
-sha512sums=('3765f2a4dbca7fa1da92be6f68f3d4c1202b558ca6d7a5f05b8bb9c13cbb9ebeef19d4370b29d0239dc606656ce74b3db4d3df5d5ae36ce323d94eae3f18aedc')
-
-prepare() {
- cp -a cachetools-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/cachetools-$pkgver
- python setup.py build
-
- cd "$srcdir"/cachetools-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/cachetools-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/cachetools-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-cachetools() {
- depends=('python')
-
- cd cachetools-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-cachetools() {
- depends=('python2')
-
- cd cachetools-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-cachetools/repos/community-staging-any/PKGBUILD (from rev 521119, python-cachetools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:40:14 UTC (rev 521120)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cachetools
+pkgname=(python-cachetools python2-cachetools)
+pkgver=3.1.1
+pkgrel=3
+pkgdesc="Extensible memoizing collections and decorators"
+url="https://github.com/tkem/cachetools"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz")
+sha512sums=('3765f2a4dbca7fa1da92be6f68f3d4c1202b558ca6d7a5f05b8bb9c13cbb9ebeef19d4370b29d0239dc606656ce74b3db4d3df5d5ae36ce323d94eae3f18aedc')
+
+prepare() {
+ cp -a cachetools-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/cachetools-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/cachetools-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/cachetools-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/cachetools-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-cachetools() {
+ depends=('python')
+
+ cd cachetools-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-cachetools() {
+ depends=('python2')
+
+ cd cachetools-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list