[arch-commits] Commit in python-voluptuous/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 15:08:24 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:08:23
  Author: foutrelis
Revision: 750905

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:08:23 UTC (rev 750904)
+++ PKGBUILD	2020-11-11 15:08:23 UTC (rev 750905)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-voluptuous
-pkgver=0.12.0
-pkgrel=2
-pkgdesc="A Python data validation library"
-url="https://github.com/alecthomas/voluptuous"
-license=('BSD')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools' 'python-pypandoc')
-checkdepends=('python-nose')
-source=("https://pypi.io/packages/source/v/voluptuous/voluptuous-$pkgver.tar.gz")
-sha512sums=('7c72d965f2a2eeb2ad099a19b41e2249b9921e51985ff975ed62fe5a6d5b3f2d5c2a7d6fc2cbe3c80abbea17cfc46c39f1953db5daecc0faafb348c838f80417')
-
-prepare() {
-  # https://github.com/alecthomas/voluptuous/issues/333
-  rm -r voluptuous-$pkgver/*.egg-info
-
-  # https://github.com/alecthomas/voluptuous/pull/332
-  sed -e "s/'w'/'wb'/" -e "s/.encode('utf-8')//" -e "s/f.write(long_description)/f.write(long_description.encode('utf-8'))/" -i voluptuous-$pkgver/setup.py
-
-  # Python 3.7
-  sed -i '/raise StopIteration/d' voluptuous-$pkgver/voluptuous/schema_builder.py
-}
-
-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 "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: python-voluptuous/repos/community-staging-any/PKGBUILD (from rev 750903, python-voluptuous/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:08:23 UTC (rev 750905)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-voluptuous
+pkgver=0.12.0
+pkgrel=3
+pkgdesc="A Python data validation library"
+url="https://github.com/alecthomas/voluptuous"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools' 'python-pypandoc')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/v/voluptuous/voluptuous-$pkgver.tar.gz")
+sha512sums=('7c72d965f2a2eeb2ad099a19b41e2249b9921e51985ff975ed62fe5a6d5b3f2d5c2a7d6fc2cbe3c80abbea17cfc46c39f1953db5daecc0faafb348c838f80417')
+
+prepare() {
+  # https://github.com/alecthomas/voluptuous/issues/333
+  rm -r voluptuous-$pkgver/*.egg-info
+
+  # https://github.com/alecthomas/voluptuous/pull/332
+  sed -e "s/'w'/'wb'/" -e "s/.encode('utf-8')//" -e "s/f.write(long_description)/f.write(long_description.encode('utf-8'))/" -i voluptuous-$pkgver/setup.py
+
+  # Python 3.7
+  sed -i '/raise StopIteration/d' voluptuous-$pkgver/voluptuous/schema_builder.py
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list