Date: Friday, April 7, 2023 @ 07:35:20
  Author: felixonmars
Revision: 1440869

archrelease: copy trunk to community-staging-any

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

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

Copied: python-deprecated/repos/community-staging-any/PKGBUILD (from rev 
1440867, python-deprecated/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 07:35:20 UTC (rev 1440869)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-deprecated
+pkgver=1.2.13
+pkgrel=4
+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=('c170b086bc4e37462181a0f53edbe745aa4f4924c7fd64d9693de267e070392b74445f9cba935e85c878b755603ca6cada8b4130ac96ab071be284047aa35619')
+
+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/
+}

Reply via email to