[arch-commits] Commit in python-promise/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 15:55:23 UTC 2020
Date: Monday, November 9, 2020 @ 15:55:23
Author: foutrelis
Revision: 747233
archrelease: copy trunk to community-staging-any
Added:
python-promise/repos/community-staging-any/
python-promise/repos/community-staging-any/PKGBUILD
(from rev 747232, python-promise/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: python-promise/repos/community-staging-any/PKGBUILD (from rev 747232, python-promise/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:55:23 UTC (rev 747233)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-promise
+pkgver=2.3.0
+pkgrel=2
+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:
More information about the arch-commits
mailing list