[arch-commits] Commit in python-deprecated/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 28 21:14:45 UTC 2019
Date: Thursday, February 28, 2019 @ 21:14:45
Author: felixonmars
Revision: 437081
archrelease: copy trunk to community-any
Added:
python-deprecated/repos/community-any/PKGBUILD
(from rev 437080, python-deprecated/trunk/PKGBUILD)
Deleted:
python-deprecated/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-28 21:14:28 UTC (rev 437080)
+++ PKGBUILD 2019-02-28 21:14:45 UTC (rev 437081)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-deprecated
-pkgname=(python-deprecated python2-deprecated)
-pkgver=1.2.4
-pkgrel=1
-pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
-url="https://github.com/tantale/deprecated"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-wrapt' 'python2-wrapt')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz")
-sha512sums=('20531256f86789f9f52ed9e9db2b61bf253f888728754bcb654b6c049532f29295a6dd44aaad1f21fd17c072515af9b1da55586b0cdb25da620dd1788191d46c')
-
-prepare() {
- cp -a deprecated-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/deprecated-$pkgver
- python setup.py build
-
- cd "$srcdir"/deprecated-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/deprecated-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/deprecated-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-deprecated() {
- depends=('python-wrapt')
-
- cd deprecated-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
-
-package_python2-deprecated() {
- depends=('python2-wrapt')
-
- cd deprecated-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
-}
Copied: python-deprecated/repos/community-any/PKGBUILD (from rev 437080, python-deprecated/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-28 21:14:45 UTC (rev 437081)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-deprecated
+pkgname=(python-deprecated python2-deprecated)
+pkgver=1.2.5
+pkgrel=1
+pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
+url="https://github.com/tantale/deprecated"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-wrapt' 'python2-wrapt')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz")
+sha512sums=('3a16b5d4f2475788ce919c327b668bb8852dab88adfa959826c9b68ccbfba3207a1c60ca164edacde8a756bd3895225af944a51eebde1230a93a973145231234')
+
+prepare() {
+ cp -a deprecated-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/deprecated-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/deprecated-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/deprecated-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/deprecated-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-deprecated() {
+ depends=('python-wrapt')
+
+ cd deprecated-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-deprecated() {
+ depends=('python2-wrapt')
+
+ cd deprecated-$pkgver-py2
+ 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