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

Felix Yan felixonmars at archlinux.org
Fri Jul 31 08:28:42 UTC 2020


    Date: Friday, July 31, 2020 @ 08:28:41
  Author: felixonmars
Revision: 666086

archrelease: copy trunk to community-any

Added:
  python-cfgv/repos/community-any/PKGBUILD
    (from rev 666085, python-cfgv/trunk/PKGBUILD)
Deleted:
  python-cfgv/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 08:28:26 UTC (rev 666085)
+++ PKGBUILD	2020-07-31 08:28:41 UTC (rev 666086)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=cfgv
-pkgname=python-cfgv
-pkgver=3.1.0
-pkgrel=2
-pkgdesc="Validate configuration and produce human readable error messages"
-arch=('any')
-url="https://github.com/asottile/cfgv"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-# pypi sdist tarballs don't contain tests:
-# https://github.com/asottile/cfgv/issues/23
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${_name}-${pkgver}.tar.gz::https://github.com/asottile/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('b44977920651dc24150b2d1ae9e5c912a4936acf4516fca794d7d850ba14544d9bac69e5f97706ca5151b99005466282f0e9b837637d8c9e71abc635b37508b0')
-
-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 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-cfgv/repos/community-any/PKGBUILD (from rev 666085, python-cfgv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-31 08:28:41 UTC (rev 666086)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=cfgv
+pkgname=python-cfgv
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Validate configuration and produce human readable error messages"
+arch=('any')
+url="https://github.com/asottile/cfgv"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+# pypi sdist tarballs don't contain tests:
+# https://github.com/asottile/cfgv/issues/23
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("${_name}-${pkgver}.tar.gz::https://github.com/asottile/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('6f1a54b505d298a9806a739edffc79feea41638f766ddc25f0712001e5bceb206153e3a957dcf4909fbe125b6e9bd077aba6317d00e632a06ed24f1dfd06c555')
+
+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 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list