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

Antonio Rojas arojas at archlinux.org
Thu Oct 31 23:29:55 UTC 2019


    Date: Thursday, October 31, 2019 @ 23:29:55
  Author: arojas
Revision: 521731

Add data file for python 3.8

Modified:
  python-precis_i18n/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-31 23:17:43 UTC (rev 521730)
+++ PKGBUILD	2019-10-31 23:29:55 UTC (rev 521731)
@@ -10,9 +10,16 @@
 license=('MIT')
 depends=('python')
 makedepends=('python-setuptools')
-source=(https://github.com/byllyfish/precis_i18n/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('a62e76588ae1ccba6de51488ceae0e2a454e77bdc946e7c4cea1cb41017253b6e239aab120bdbf1a57b51b827ec7554fb7d6fc10a3a4203f09f6f91f1b4192f4')
+source=(https://github.com/byllyfish/precis_i18n/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        precis_i18n-python-3.8.patch::"https://github.com/byllyfish/precis_i18n/commit/7b6987e2.patch")
+sha512sums=('a62e76588ae1ccba6de51488ceae0e2a454e77bdc946e7c4cea1cb41017253b6e239aab120bdbf1a57b51b827ec7554fb7d6fc10a3a4203f09f6f91f1b4192f4'
+            '81bcc4d2af10cef756830f504ec74aee1a88f56b29ede1b631142b624aca8ac8aa217a7802a731a2d8ffce90c7de6d80c597b7f8ae91a9ae665b5a6fe11e3b60')
 
+prepare() {
+  cd $_pkgname-$pkgver
+  patch -p1 -i ../precis_i18n-python-3.8.patch # Add data file for python 3.8
+}
+
 build() {
   cd ${_pkgname}-${pkgver}
   python setup.py build



More information about the arch-commits mailing list