[arch-commits] Commit in python-pytest-metadata/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 13:42:21 UTC 2020
Date: Thursday, November 12, 2020 @ 13:42:21
Author: felixonmars
Revision: 751834
archrelease: copy trunk to community-staging-any
Added:
python-pytest-metadata/repos/community-staging-any/PKGBUILD
(from rev 751832, python-pytest-metadata/trunk/PKGBUILD)
Deleted:
python-pytest-metadata/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 13:42:19 UTC (rev 751833)
+++ PKGBUILD 2020-11-12 13:42:21 UTC (rev 751834)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-metadata
-pkgname=python-pytest-metadata
-pkgver=1.10.0
-pkgrel=2
-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=('e421d12f9cfb160fcc4dd959187b7c5b12f7b7ff8747313933afda1c4c7bfeedbf609ced551f90c05142745dd95e767a51d8440c789f57e6e3062741a77f5adc')
-
-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-staging-any/PKGBUILD (from rev 751832, python-pytest-metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 13:42:21 UTC (rev 751834)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-metadata
+pkgname=python-pytest-metadata
+pkgver=1.10.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=('e421d12f9cfb160fcc4dd959187b7c5b12f7b7ff8747313933afda1c4c7bfeedbf609ced551f90c05142745dd95e767a51d8440c789f57e6e3062741a77f5adc')
+
+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