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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 13:12:00 UTC 2020


    Date: Thursday, November 12, 2020 @ 13:11:59
  Author: foutrelis
Revision: 751730

Adjust for webcolors API change

Modified:
  python-jsonschema/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 12:58:18 UTC (rev 751729)
+++ PKGBUILD	2020-11-12 13:11:59 UTC (rev 751730)
@@ -14,11 +14,18 @@
 makedepends=('python-setuptools-scm')
 checkdepends=('python-twisted' 'python-idna' 'python-jsonpointer' 'python-strict-rfc3339'
               'python-rfc3987' 'python-webcolors')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/Julian/jsonschema/archive/v$pkgver.tar.gz")
-sha512sums=('a575e9e7b0668220854e7ae45f2afd433643c3f0bfeb9769413cfc072ae01513a8d97bddbb6317f42348e09081e72bbad801d00ee5e3c0ac840bd19e934955cd')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/Julian/jsonschema/archive/v$pkgver.tar.gz"
+        $pkgname-webcolors.patch::https://github.com/Julian/jsonschema/commit/09595a50f507.patch)
+sha512sums=('a575e9e7b0668220854e7ae45f2afd433643c3f0bfeb9769413cfc072ae01513a8d97bddbb6317f42348e09081e72bbad801d00ee5e3c0ac840bd19e934955cd'
+            'c7e14ab01ca2adb1d4aa5b2670bd95d6e5141ade0f619463f35fe54066a69f045ee0ad929943c4af0edacddf4f93289b7318217bc0038069aa812b1a4428f54d')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
+prepare() {
+  cd jsonschema-$pkgver
+  patch -Np1 -i ../$pkgname-webcolors.patch
+}
+
 build() {
   cd jsonschema-$pkgver
   python setup.py build



More information about the arch-commits mailing list