[arch-commits] Commit in python-characteristic/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 10:36:24 UTC 2020
Date: Wednesday, November 11, 2020 @ 10:36:24
Author: foutrelis
Revision: 750162
archrelease: copy trunk to community-staging-any
Added:
python-characteristic/repos/community-staging-any/PKGBUILD
(from rev 750161, python-characteristic/trunk/PKGBUILD)
Deleted:
python-characteristic/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 10:36:21 UTC (rev 750161)
+++ PKGBUILD 2020-11-11 10:36:24 UTC (rev 750162)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-characteristic
-pkgname=('python-characteristic' 'python2-characteristic')
-pkgver=14.3.0
-pkgrel=10
-pkgdesc="Python attributes without boilerplate."
-arch=('any')
-license=('MIT')
-url="https://pypi.python.org/pypi/characteristic"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://files.pythonhosted.org/packages/source/c/characteristic/characteristic-$pkgver.tar.gz"{,.asc})
-md5sums=('b249368dd021fde1c06b4802867c0913'
- 'SKIP')
-validpgpkeys=('C2A04F86ACE28ADCF817DBB7AE2536227F69F181') # Hynek Schlawack <hs at ox.cx>
-
-prepare() {
- sed -i 's/\[pytest\]/[tool:pytest]/' characteristic-$pkgver/setup.cfg
- cp -a characteristic-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/characteristic-$pkgver
- python setup.py build
-
- cd "$srcdir"/characteristic-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/characteristic-$pkgver
- python setup.py test
-
- cd "$srcdir"/characteristic-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-characteristic() {
- depends=('python')
-
- cd characteristic-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-characteristic() {
- depends=('python2')
-
- cd characteristic-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-characteristic/repos/community-staging-any/PKGBUILD (from rev 750161, python-characteristic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 10:36:24 UTC (rev 750162)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-characteristic
+pkgname=('python-characteristic' 'python2-characteristic')
+pkgver=14.3.0
+pkgrel=11
+pkgdesc="Python attributes without boilerplate."
+arch=('any')
+license=('MIT')
+url="https://pypi.python.org/pypi/characteristic"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://files.pythonhosted.org/packages/source/c/characteristic/characteristic-$pkgver.tar.gz"{,.asc})
+md5sums=('b249368dd021fde1c06b4802867c0913'
+ 'SKIP')
+validpgpkeys=('C2A04F86ACE28ADCF817DBB7AE2536227F69F181') # Hynek Schlawack <hs at ox.cx>
+
+prepare() {
+ sed -i 's/\[pytest\]/[tool:pytest]/' characteristic-$pkgver/setup.cfg
+ cp -a characteristic-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/characteristic-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/characteristic-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/characteristic-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/characteristic-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-characteristic() {
+ depends=('python')
+
+ cd characteristic-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-characteristic() {
+ depends=('python2')
+
+ cd characteristic-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list