[arch-commits] Commit in python-diff-cover/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Apr 10 11:24:39 UTC 2020


    Date: Friday, April 10, 2020 @ 11:24:39
  Author: dvzrv
Revision: 613080

archrelease: copy trunk to community-any

Added:
  python-diff-cover/repos/community-any/PKGBUILD
    (from rev 613079, python-diff-cover/trunk/PKGBUILD)
Deleted:
  python-diff-cover/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-10 11:24:34 UTC (rev 613079)
+++ PKGBUILD	2020-04-10 11:24:39 UTC (rev 613080)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=diff_cover
-pkgname=python-diff-cover
-pkgver=2.6.0
-pkgrel=1
-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' 'python-six')
-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=('efb70d18705f90c0d2db3e78d099c6c23c665cf9468a9f6e1613545a0d16128421519dec17a8d99b57116d84ebb10f926d29350ba8b41902ccca4516f73369b4'
-            '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-any/PKGBUILD (from rev 613079, python-diff-cover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-10 11:24:39 UTC (rev 613080)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=diff_cover
+pkgname=python-diff-cover
+pkgver=2.6.1
+pkgrel=1
+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' 'python-six')
+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=('6e62ade3d84913a0de6cbbf38853a0e5da3860fcdca692eb87177f4a1769f118c658b69a7737af3d70c9d25b23ed90d664d35564138ce8dc4000ff709df43a88'
+            '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