[arch-commits] Commit in python-outcome/repos/community-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Oct 17 18:57:36 UTC 2019


    Date: Thursday, October 17, 2019 @ 18:57:36
  Author: alucryd
Revision: 516561

archrelease: copy trunk to community-any

Added:
  python-outcome/repos/community-any/PKGBUILD
    (from rev 516560, python-outcome/trunk/PKGBUILD)
Deleted:
  python-outcome/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 49 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-17 18:57:31 UTC (rev 516560)
+++ PKGBUILD	2019-10-17 18:57:36 UTC (rev 516561)
@@ -1,43 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=python-outcome
-pkgver=1.0.0
-pkgrel=3
-pkgdesc='Capture the outcome of Python function calls'
-arch=(any)
-url=https://github.com/python-trio/outcome
-license=(MIT)
-depends=(
-  python
-  python-attrs
-)
-makedepends=(
-  git
-  python-async_generator
-  python-pytest
-  python-pytest-cov
-  python-setuptools
-)
-source=(git+https://github.com/python-trio/outcome.git#tag=v${pkgver})
-sha256sums=(SKIP)
-
-build() {
-  cd outcome
-
-  python setup.py build
-}
-
-check() {
-  cd outcome
-
-  python setup.py test
-}
-
-package() {
-  cd outcome
-
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-outcome/
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-outcome/repos/community-any/PKGBUILD (from rev 516560, python-outcome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-17 18:57:36 UTC (rev 516561)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-outcome
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Capture the outcome of Python function calls'
+arch=(any)
+url=https://github.com/python-trio/outcome
+license=(MIT)
+depends=(
+  python
+  python-attrs
+)
+makedepends=(
+  git
+  python-async_generator
+  python-pytest
+  python-pytest-cov
+  python-setuptools
+)
+source=(git+https://github.com/python-trio/outcome.git#tag=8f134767135f5236c952d37f7854903f7f196832)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd outcome
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd outcome
+
+  python setup.py build
+}
+
+check() {
+  cd outcome
+
+  python setup.py test
+}
+
+package() {
+  cd outcome
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-outcome/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list