[arch-commits] Commit in python-precis_i18n/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Aug 24 22:24:03 UTC 2020


    Date: Monday, August 24, 2020 @ 22:24:03
  Author: anthraxx
Revision: 687866

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 34 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-24 22:23:59 UTC (rev 687865)
+++ PKGBUILD	2020-08-24 22:24:03 UTC (rev 687866)
@@ -1,40 +0,0 @@
-# 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:

Copied: python-precis_i18n/repos/community-any/PKGBUILD (from rev 687865, python-precis_i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-24 22:24:03 UTC (rev 687866)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=precis_i18n
+pkgname=python-precis_i18n
+pkgver=1.0.2
+pkgrel=1
+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=('bbbc52ae11fc9f0da3f4723d52205c4103f6f96929f10926436b1bff3aee22ce9ff2f7bdf9df6c9f82a4b99aeea94a9ad5df85b9c9f03bccfa5109c35eb181d7')
+b2sums=('0a3cbca0541ec80bbf44cbed76bbd2eaf2fc5d94a32109cc528476009b6906d4b985c0e2be4f739cae36946b8bdb7508ed259a7329ec65240caa3ff24cb12771')
+
+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