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

Felix Yan felixonmars at archlinux.org
Thu Oct 31 23:32:18 UTC 2019


    Date: Thursday, October 31, 2019 @ 23:32:17
  Author: felixonmars
Revision: 521733

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 40 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-31 23:32:06 UTC (rev 521732)
+++ PKGBUILD	2019-10-31 23:32:17 UTC (rev 521733)
@@ -1,33 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_pkgname=precis_i18n
-pkgname=python-precis_i18n
-pkgver=1.0.1
-pkgrel=2
-pkgdesc='PRECIS framework (RFC 8264, RFC 8265, RFC 8266)'
-url='https://github.com/byllyfish/precis_i18n'
-arch=('any')
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-source=(https://github.com/byllyfish/precis_i18n/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('a62e76588ae1ccba6de51488ceae0e2a454e77bdc946e7c4cea1cb41017253b6e239aab120bdbf1a57b51b827ec7554fb7d6fc10a3a4203f09f6f91f1b4192f4')
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py test
-}
-
-package() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst CHANGELOG.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-precis_i18n/repos/community-staging-any/PKGBUILD (from rev 521732, python-precis_i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-31 23:32:17 UTC (rev 521733)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=precis_i18n
+pkgname=python-precis_i18n
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='PRECIS framework (RFC 8264, RFC 8265, RFC 8266)'
+url='https://github.com/byllyfish/precis_i18n'
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+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
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py test
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst CHANGELOG.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list