[arch-commits] Commit in python-promise/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 15:35:12 UTC 2019


    Date: Friday, October 25, 2019 @ 15:35:11
  Author: felixonmars
Revision: 519103

archrelease: copy trunk to community-staging-any

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

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

Copied: python-promise/repos/community-staging-any/PKGBUILD (from rev 519101, python-promise/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:35:11 UTC (rev 519103)
@@ -0,0 +1,33 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-promise
+pkgver=2.2.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=v${pkgver})
+sha256sums=(SKIP)
+
+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