[arch-commits] Commit in python-setuptools-declarative-requirements/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 19:19:50 UTC 2021
Date: Thursday, December 2, 2021 @ 19:19:50
Author: felixonmars
Revision: 1062310
archrelease: copy trunk to community-staging-any
Added:
python-setuptools-declarative-requirements/repos/community-staging-any/PKGBUILD
(from rev 1062309, python-setuptools-declarative-requirements/trunk/PKGBUILD)
Deleted:
python-setuptools-declarative-requirements/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 19:19:42 UTC (rev 1062309)
+++ PKGBUILD 2021-12-02 19:19:50 UTC (rev 1062310)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=setuptools-declarative-requirements
-pkgname=python-setuptools-declarative-requirements
-pkgver=1.2.0
-pkgrel=2
-pkgdesc="File support for setuptools declarative setup.cfg"
-arch=('any')
-url="https://github.com/s0undt3ch/setuptools-declarative-requirements"
-license=('Apache')
-depends=('python-setuptools')
-makedepends=('python-setuptools-scm' 'python-toml')
-checkdepends=('pypiserver' 'python-packaging' 'python-pytest' 'python-virtualenv' 'python-wheel')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('859e102be1503af5387ccd5907ab5879b91e2b8522dc8c9fff080d90bc806a1c7bc3f4bee273851d644740ab91cf2c1f6f1e83d207694f96126cf1cf87988258')
-b2sums=('7d1fe255a427aa20c92bae8d346abc09672069726d853cbda6909ffa26c8cbe01ed19b9ac2a7c46a1258c9eef685142f5112d2bc25d3b1dfa077074ab728bbb5')
-
-prepare() {
- mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- # disable failing test:
- # https://github.com/s0undt3ch/setuptools-declarative-requirements/issues/4
- pytest -vv -k "not test_build_package[bdist_wheel]"
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- install -vDm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-setuptools-declarative-requirements/repos/community-staging-any/PKGBUILD (from rev 1062309, python-setuptools-declarative-requirements/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 19:19:50 UTC (rev 1062310)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=setuptools-declarative-requirements
+pkgname=python-setuptools-declarative-requirements
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="File support for setuptools declarative setup.cfg"
+arch=('any')
+url="https://github.com/s0undt3ch/setuptools-declarative-requirements"
+license=('Apache')
+depends=('python-setuptools')
+makedepends=('python-setuptools-scm' 'python-toml')
+checkdepends=('pypiserver' 'python-packaging' 'python-pytest' 'python-virtualenv' 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('859e102be1503af5387ccd5907ab5879b91e2b8522dc8c9fff080d90bc806a1c7bc3f4bee273851d644740ab91cf2c1f6f1e83d207694f96126cf1cf87988258')
+b2sums=('7d1fe255a427aa20c92bae8d346abc09672069726d853cbda6909ffa26c8cbe01ed19b9ac2a7c46a1258c9eef685142f5112d2bc25d3b1dfa077074ab728bbb5')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ # disable failing test:
+ # https://github.com/s0undt3ch/setuptools-declarative-requirements/issues/4
+ pytest -vv -k "not test_build_package[bdist_wheel]"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ install -vDm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list