[arch-commits] Commit in python-pytest-order/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 23:35:40 UTC 2021
Date: Thursday, December 2, 2021 @ 23:35:40
Author: felixonmars
Revision: 1063159
archrelease: copy trunk to community-staging-any
Added:
python-pytest-order/repos/community-staging-any/PKGBUILD
(from rev 1063158, python-pytest-order/trunk/PKGBUILD)
Deleted:
python-pytest-order/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 23:35:31 UTC (rev 1063158)
+++ PKGBUILD 2021-12-02 23:35:40 UTC (rev 1063159)
@@ -1,37 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pytest-order
-pkgname=python-${_pkg}
-pkgver=1.0.0
-pkgrel=2
-pkgdesc="pytest plugin that allows to customize the test execution order"
-arch=(any)
-url="https://github.com/pytest-dev/pytest-order/"
-license=(MIT)
-depends=(python-pytest)
-makedepends=(python-setuptools)
-checkdepends=(
- python-pytest-dependency
- python-pytest-mock
- python-pytest-xdist
-)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('2761cbaa2de49e8deb2c15b50ae80f1db58925c03d427bd62d01146792cf8d3b')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- python -m venv --system-site-packages test-env
- test-env/bin/python setup.py install --skip-build
- test-env/bin/python /usr/bin/pytest -v --color=yes
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --root=${pkgdir} --optimize=1 --skip-build
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: python-pytest-order/repos/community-staging-any/PKGBUILD (from rev 1063158, python-pytest-order/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 23:35:40 UTC (rev 1063159)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pytest-order
+pkgname=python-${_pkg}
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="pytest plugin that allows to customize the test execution order"
+arch=(any)
+url="https://github.com/pytest-dev/pytest-order/"
+license=(MIT)
+depends=(python-pytest)
+makedepends=(python-setuptools)
+checkdepends=(
+ python-pytest-dependency
+ python-pytest-mock
+ python-pytest-xdist
+)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2761cbaa2de49e8deb2c15b50ae80f1db58925c03d427bd62d01146792cf8d3b')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ python -m venv --system-site-packages test-env
+ test-env/bin/python setup.py install --skip-build
+ test-env/bin/python /usr/bin/pytest -v --color=yes
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --root=${pkgdir} --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list