[arch-commits] Commit in python-deprecated/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 4 01:06:23 UTC 2018
Date: Sunday, November 4, 2018 @ 01:06:22
Author: felixonmars
Revision: 401351
archrelease: copy trunk to community-any
Added:
python-deprecated/repos/community-any/PKGBUILD
(from rev 401350, python-deprecated/trunk/PKGBUILD)
Deleted:
python-deprecated/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-04 01:06:01 UTC (rev 401350)
+++ PKGBUILD 2018-11-04 01:06:22 UTC (rev 401351)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-deprecated
-pkgname=(python-deprecated python2-deprecated)
-pkgver=1.2.3
-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=('68e51cfeae07541299d50ae3430a63d361dc755bdbae0d430d948d23788ed972c3a80667bdec478536156fe2527df2b8b8474d0a997bef639be7fbb58c934f58')
-
-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 401350, python-deprecated/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-04 01:06:22 UTC (rev 401351)
@@ -0,0 +1,50 @@
+# 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
+}
More information about the arch-commits
mailing list