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

Felix Yan felixonmars at gemini.archlinux.org
Fri Jul 15 02:04:47 UTC 2022


    Date: Friday, July 15, 2022 @ 02:04:47
  Author: felixonmars
Revision: 1252718

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 30 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-15 02:04:33 UTC (rev 1252717)
+++ PKGBUILD	2022-07-15 02:04:47 UTC (rev 1252718)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-voluptuous
-pkgver=0.13.0
-pkgrel=1
-pkgdesc="A Python data validation library"
-url="https://github.com/alecthomas/voluptuous"
-license=('BSD')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-nose')
-source=("https://pypi.io/packages/source/v/voluptuous/voluptuous-$pkgver.tar.gz")
-sha512sums=('a4b76a7d7e3f1f2697c09b025c2386b77c48e7f9d001e05ab0b93c91167e438352ac682d52527e2cc01d009787fedd4674cf7c926ed908022fe381c09d488f29')
-
-prepare() {
-  # https://github.com/alecthomas/voluptuous/issues/333
-  rm -r voluptuous-$pkgver/*.egg-info
-}
-
-build() {
-  cd voluptuous-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd voluptuous-$pkgver
-  python setup.py nosetests
-}
-
-package() {
-  cd voluptuous-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-voluptuous/repos/community-any/PKGBUILD (from rev 1252717, python-voluptuous/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-15 02:04:47 UTC (rev 1252718)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-voluptuous
+pkgver=0.13.1
+pkgrel=1
+pkgdesc="A Python data validation library"
+url="https://github.com/alecthomas/voluptuous"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(https://github.com/alecthomas/voluptuous/archive/refs/tags/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f')
+
+build() {
+  cd voluptuous-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd voluptuous-$pkgver
+  pytest
+}
+
+package() {
+  cd voluptuous-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list