[arch-commits] Commit in python-pytest-metadata/repos/community-any (2 files)

David Runge dvzrv at archlinux.org
Tue May 5 20:48:23 UTC 2020


    Date: Tuesday, May 5, 2020 @ 20:48:22
  Author: dvzrv
Revision: 624974

archrelease: copy trunk to community-any

Added:
  python-pytest-metadata/repos/community-any/PKGBUILD
    (from rev 624973, python-pytest-metadata/trunk/PKGBUILD)
Deleted:
  python-pytest-metadata/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-05 20:48:16 UTC (rev 624973)
+++ PKGBUILD	2020-05-05 20:48:22 UTC (rev 624974)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-metadata
-pkgname=python-pytest-metadata
-pkgver=1.8.0
-pkgrel=3
-pkgdesc="Plugin for accessing test session metadata"
-arch=('any')
-url="https://github.com/pytest-dev/pytest-metadata"
-license=('MPL2')
-depends=('python-pytest')
-makedepends=('python-setuptools-scm')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('04871fe0c4c30bc23eba80a58919841cf45045b91d501e67630426cbac88a16005657eaccb1d2587263d4fcd940d37382f3a5649f142b1aab327f1f1c5d61963')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 {CHANGES,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-pytest-metadata/repos/community-any/PKGBUILD (from rev 624973, python-pytest-metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-05 20:48:22 UTC (rev 624974)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-metadata
+pkgname=python-pytest-metadata
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="Plugin for accessing test session metadata"
+arch=('any')
+url="https://github.com/pytest-dev/pytest-metadata"
+license=('MPL2')
+depends=('python-pytest')
+makedepends=('python-setuptools-scm')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('d36a40870d3d991d6726e46a984c9bafc6f131d0b2149a7426a6418b16a18807d32afe77458d7b6b5c332677cef288e29e161ad9ffc3a14d26553a066d6a6694')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 {CHANGES,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list