Date: Monday, January 6, 2020 @ 14:18:52 Author: alucryd Revision: 549743
archrelease: copy trunk to community-any Added: python-promise/repos/community-any/PKGBUILD (from rev 549742, python-promise/trunk/PKGBUILD) Deleted: python-promise/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-06 14:18:45 UTC (rev 549742) +++ PKGBUILD 2020-01-06 14:18:52 UTC (rev 549743) @@ -1,33 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=python-promise -pkgver=2.2.0 -pkgrel=3 -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: Copied: python-promise/repos/community-any/PKGBUILD (from rev 549742, python-promise/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-06 14:18:52 UTC (rev 549743) @@ -0,0 +1,39 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=python-promise +pkgver=2.3.0 +pkgrel=1 +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: