[arch-commits] Commit in python-sentinels/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 18:26:27 UTC 2019
Date: Thursday, October 31, 2019 @ 18:26:27
Author: foutrelis
Revision: 521674
archrelease: copy trunk to community-staging-any
Added:
python-sentinels/repos/community-staging-any/PKGBUILD
(from rev 521673, python-sentinels/trunk/PKGBUILD)
Deleted:
python-sentinels/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:26:21 UTC (rev 521673)
+++ PKGBUILD 2019-10-31 18:26:27 UTC (rev 521674)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sentinels
-pkgname=(python-sentinels python2-sentinels)
-pkgver=1.0.0
-pkgrel=2
-pkgdesc="Various objects to denote special meanings in python"
-url="https://github.com/vmalloc/sentinels"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/vmalloc/sentinels/archive/$pkgver.tar.gz")
-sha512sums=('80f5bc13eb902f7e8cba5a227eae3c92187d4d3203493e3e507998338c726985fe3b121e352a4235d5975bf19c3643b8120c1d15756768c268406689c2fc5489')
-
-prepare() {
- cp -a sentinels-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/sentinels-$pkgver
- python setup.py build
-
- cd "$srcdir"/sentinels-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/sentinels-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/sentinels-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-sentinels() {
- depends=('python')
-
- cd sentinels-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-sentinels() {
- depends=('python2')
-
- cd sentinels-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-sentinels/repos/community-staging-any/PKGBUILD (from rev 521673, python-sentinels/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:26:27 UTC (rev 521674)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-sentinels
+pkgname=(python-sentinels python2-sentinels)
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="Various objects to denote special meanings in python"
+url="https://github.com/vmalloc/sentinels"
+license=('BSD')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/vmalloc/sentinels/archive/$pkgver.tar.gz")
+sha512sums=('80f5bc13eb902f7e8cba5a227eae3c92187d4d3203493e3e507998338c726985fe3b121e352a4235d5975bf19c3643b8120c1d15756768c268406689c2fc5489')
+
+prepare() {
+ cp -a sentinels-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/sentinels-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/sentinels-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/sentinels-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/sentinels-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-sentinels() {
+ depends=('python')
+
+ cd sentinels-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-sentinels() {
+ depends=('python2')
+
+ cd sentinels-$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