Date: Monday, April 10, 2023 @ 12:25:33
Author: felixonmars
Revision: 1444270
archrelease: copy trunk to community-staging-any
Added:
python-deprecation/repos/community-staging-any/PKGBUILD
(from rev 1444267, python-deprecation/trunk/PKGBUILD)
Deleted:
python-deprecation/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 12:25:32 UTC (rev 1444269)
+++ PKGBUILD 2023-04-10 12:25:33 UTC (rev 1444270)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-deprecation
-pkgver=2.1.0
-pkgrel=7
-pkgdesc="A library to handle automated deprecations"
-arch=('any')
-license=('Apache')
-url="https://deprecation.readthedocs.io"
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-$pkgver.tar.gz")
-sha512sums=('c184665d210c6eeb3f055b23e75c3714f3b18050e03bfe1384baf6c2504f1370116ae0e8c53ff818ccc54c0d633bbb3ba5791fe20b8029f3be0207b019a00275')
-
-prepare() {
- sed -i 's/unittest2/unittest/g' deprecation-$pkgver/tests/*.py
-
- export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
- cd deprecation-$pkgver
- python setup.py build
-}
-
-check() {
- cd deprecation-$pkgver
- python -m unittest discover
-}
-
-package() {
- cd deprecation-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-deprecation/repos/community-staging-any/PKGBUILD (from rev
1444267, python-deprecation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 12:25:33 UTC (rev 1444270)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-deprecation
+pkgver=2.1.0
+pkgrel=8
+pkgdesc="A library to handle automated deprecations"
+arch=('any')
+license=('Apache')
+url="https://deprecation.readthedocs.io"
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-$pkgver.tar.gz")
+sha512sums=('c184665d210c6eeb3f055b23e75c3714f3b18050e03bfe1384baf6c2504f1370116ae0e8c53ff818ccc54c0d633bbb3ba5791fe20b8029f3be0207b019a00275')
+
+prepare() {
+ sed -i 's/unittest2/unittest/g' deprecation-$pkgver/tests/*.py
+
+ export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+ cd deprecation-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd deprecation-$pkgver
+ python -m unittest discover
+}
+
+package() {
+ cd deprecation-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}