[arch-commits] Commit in python-deprecated/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jan 17 13:46:52 UTC 2021


    Date: Sunday, January 17, 2021 @ 13:46:52
  Author: felixonmars
Revision: 821305

archrelease: copy trunk to community-any

Added:
  python-deprecated/repos/community-any/PKGBUILD
    (from rev 821304, python-deprecated/trunk/PKGBUILD)
Deleted:
  python-deprecated/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-17 13:46:34 UTC (rev 821304)
+++ PKGBUILD	2021-01-17 13:46:52 UTC (rev 821305)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-deprecated
-pkgver=1.2.10
-pkgrel=3
-pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
-url="https://github.com/tantale/deprecated"
-license=('MIT')
-arch=('any')
-depends=('python-wrapt')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz"
-        $pkgname-py39.patch::https://github.com/tantale/deprecated/commit/efb3e60623e1.patch)
-sha512sums=('4bd53b759d04ab15c74a4c147b2c69c73aed6e40555acf0e84cf0c5b7ffe248da234bd1311c5629f9357d50bc08e55e81363340dcfdabe88933525bcc7859a70'
-            'a7b000ab15dbdf9f3041da4475d97abab2e8649bd6809f97ee032ff656588cbcac915a417e1dbc4dfc310af5809c2bba343bd156412a742117284eab5aef083c')
-
-prepare() {
-  cd "$srcdir"/deprecated-$pkgver
-  patch -Np1 -i ../$pkgname-py39.patch
-}
-
-build() {
-  cd "$srcdir"/deprecated-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/deprecated-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd deprecated-$pkgver
-  python 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 821304, python-deprecated/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-17 13:46:52 UTC (rev 821305)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-deprecated
+pkgver=1.2.11
+pkgrel=1
+pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods"
+url="https://github.com/tantale/deprecated"
+license=('MIT')
+arch=('any')
+depends=('python-wrapt')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz")
+sha512sums=('343f62a7a658569de885ac923a1de7f7b4cc5bf63d27d1b13474795ca38cc52932e35133b45d05c1b42d498af56f5945fad5c49b3cbdebda70337294da5d84c4')
+
+build() {
+  cd deprecated-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd deprecated-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd deprecated-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list