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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:06 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:19:06
  Author: felixonmars
Revision: 1057989

archrelease: copy trunk to community-staging-any

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

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

Copied: python-precis_i18n/repos/community-staging-any/PKGBUILD (from rev 1057983, python-precis_i18n/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:19:06 UTC (rev 1057989)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=precis_i18n
+pkgname=python-precis_i18n
+pkgver=1.0.3
+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=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('2b7fe3d06969ae1eb4c8005ad2b2cdc3f8eb81d586317ca428767c9df2906d19c7a228e26ed8bb1ba70e76e36810d2e5e86cf7aebc1103f31de616a33800e67c')
+b2sums=('33b737940fa09fb14190a6ce386f590acb8b89831fd4ddc6562b0b34204ed08e4cb677dc7e65c63aaf827637ed3ba4cade700769df1983e17840ae03d0e9d7f1')
+
+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