[arch-commits] Commit in python-diff-cover/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 16:59:06 UTC 2020
Date: Thursday, November 12, 2020 @ 16:59:06
Author: felixonmars
Revision: 752145
archrelease: copy trunk to community-staging-any
Added:
python-diff-cover/repos/community-staging-any/PKGBUILD
(from rev 752143, python-diff-cover/trunk/PKGBUILD)
Deleted:
python-diff-cover/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 16:59:03 UTC (rev 752144)
+++ PKGBUILD 2020-11-12 16:59:06 UTC (rev 752145)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=diff_cover
-pkgname=python-diff-cover
-pkgver=4.0.1
-pkgrel=2
-pkgdesc="Automatically find diff lines that need test coverage"
-arch=('any')
-url="https://github.com/Bachmann1234/diff_cover"
-license=('Apache')
-depends=('python-jinja' 'python-jinja_pluralize' 'python-pluggy'
-'python-pygments' 'python-setuptools')
-checkdepends=('flake8' 'python-pytest' 'python-mock' 'python-pytest-cov'
-'python-pycodestyle' 'python-pyflakes' 'python-pylint' 'python-pydocstyle')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('a5f124cf602937f089094d38c9eba9a1babdadcff9b65d4b8cb909c6bcaaf61c7832f8c30d4453f50d0965687e9fe9a25060fb824cd997f641d7fec769f0232b'
- 'SKIP')
-b2sums=('e4ff84f9eaf8acb3ff659a15670d957c8601c45f2528086b0e76f949e06682af91f8b873f23432fc79b0471b6ab1f5f6c03c65bc10cc5d795e2ff273f2d2153d'
- 'SKIP')
-validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
-
-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 {CHANGELOG,NOTICE,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-diff-cover/repos/community-staging-any/PKGBUILD (from rev 752143, python-diff-cover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 16:59:06 UTC (rev 752145)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=diff_cover
+pkgname=python-diff-cover
+pkgver=4.0.1
+pkgrel=3
+pkgdesc="Automatically find diff lines that need test coverage"
+arch=('any')
+url="https://github.com/Bachmann1234/diff_cover"
+license=('Apache')
+depends=('python-jinja' 'python-jinja_pluralize' 'python-pluggy'
+'python-pygments' 'python-setuptools')
+checkdepends=('flake8' 'python-pytest' 'python-mock' 'python-pytest-cov'
+'python-pycodestyle' 'python-pyflakes' 'python-pylint' 'python-pydocstyle')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('a5f124cf602937f089094d38c9eba9a1babdadcff9b65d4b8cb909c6bcaaf61c7832f8c30d4453f50d0965687e9fe9a25060fb824cd997f641d7fec769f0232b'
+ 'SKIP')
+b2sums=('e4ff84f9eaf8acb3ff659a15670d957c8601c45f2528086b0e76f949e06682af91f8b873f23432fc79b0471b6ab1f5f6c03c65bc10cc5d795e2ff273f2d2153d'
+ 'SKIP')
+validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
+
+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 {CHANGELOG,NOTICE,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list