[arch-commits] Commit in python-voluptuous/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Jun 16 13:58:27 UTC 2022


    Date: Thursday, June 16, 2022 @ 13:58:26
  Author: felixonmars
Revision: 1238103

upgpkg: python-voluptuous 0.13.0-1

Modified:
  python-voluptuous/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-16 13:01:03 UTC (rev 1238102)
+++ PKGBUILD	2022-06-16 13:58:26 UTC (rev 1238103)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-voluptuous
-pkgver=0.12.2
-pkgrel=3
+pkgver=0.13.0
+pkgrel=1
 pkgdesc="A Python data validation library"
 url="https://github.com/alecthomas/voluptuous"
 license=('BSD')
@@ -11,17 +11,11 @@
 makedepends=('python-setuptools')
 checkdepends=('python-nose')
 source=("https://pypi.io/packages/source/v/voluptuous/voluptuous-$pkgver.tar.gz")
-sha512sums=('86193294c1c6a593f6556f23a9a2c093690a06cbdabb7e268db135e36af6a15c113e78f3e05d000276b6ff54b8e17a0a01d589e9232da9eb5320500fdb5757e1')
+sha512sums=('a4b76a7d7e3f1f2697c09b025c2386b77c48e7f9d001e05ab0b93c91167e438352ac682d52527e2cc01d009787fedd4674cf7c926ed908022fe381c09d488f29')
 
 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() {
@@ -37,5 +31,5 @@
 package() {
   cd voluptuous-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+  install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list