Date: Thursday, April 6, 2023 @ 14:29:54
  Author: felixonmars
Revision: 1439237

archrelease: copy trunk to community-staging-any

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

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

Copied: python-promise/repos/community-staging-any/PKGBUILD (from rev 1439233, 
python-promise/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 14:29:54 UTC (rev 1439237)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-promise
+pkgver=2.3.0
+pkgrel=6
+pkgdesc='Ultra-performant Promise implementation in Python'
+url=https://github.com/syrusakbary/promise
+arch=(any)
+license=(MIT)
+depends=(
+  python-six
+)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/syrusakbary/promise.git#tag=ad8ebe68cd9c9686793e3449457f175a0fe43226)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd promise
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd promise
+
+  python setup.py build
+}
+
+package() {
+  cd promise
+
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-promise/
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to