Date: Sunday, January 22, 2023 @ 07:43:06
Author: grawlinson
Revision: 1387661
archrelease: copy trunk to community-any
Added:
python-deprecation-alias/repos/community-any/
python-deprecation-alias/repos/community-any/PKGBUILD
(from rev 1387660, python-deprecation-alias/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-deprecation-alias/repos/community-any/PKGBUILD (from rev
1387660, python-deprecation-alias/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2023-01-22 07:43:06 UTC (rev 1387661)
@@ -0,0 +1,38 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-deprecation-alias
+pkgver=0.3.1
+pkgrel=1
+pkgdesc='A wrapper around deprecation providing support for deprecated aliases'
+arch=('any')
+url='https://github.com/domdfcoding/deprecation-alias'
+license=('Apache')
+depends=('python' 'python-deprecation' 'python-packaging')
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+)
+_commit='d0e0e11ae8276a3b383db3fa01a9ee0ba10d8695'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}