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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:14:07 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:14:07
  Author: felixonmars
Revision: 748580

archrelease: copy trunk to community-staging-any

Added:
  python-sqlalchemy-i18n/repos/community-staging-any/
  python-sqlalchemy-i18n/repos/community-staging-any/PKGBUILD
    (from rev 748577, python-sqlalchemy-i18n/trunk/PKGBUILD)

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

Copied: python-sqlalchemy-i18n/repos/community-staging-any/PKGBUILD (from rev 748577, python-sqlalchemy-i18n/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:14:07 UTC (rev 748580)
@@ -0,0 +1,29 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org
+# Contributor: Husam Bilal <husam212 AT gmail DOT com>
+
+_name=sqlalchemy-i18n
+pkgname=python-sqlalchemy-i18n
+pkgver=1.0.3
+pkgrel=3
+pkgdesc='Internationalization extension for SQLAlchemy models'
+url='https://github.com/kvesteri/sqlalchemy-i18n'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-sqlalchemy' 'python-sqlalchemy-utils' 'python-six')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/kvesteri/sqlalchemy-i18n/archive/${pkgver}.tar.gz)
+sha512sums=('08f5d0d00228fd9f39214b039f6b9260b99f5f940a3067daac695ce0c7e2909a0336abe081d3c272a8cb744e2f049ab108dea502875a52b987c1f52d27c52db8')
+
+build() {
+  cd ${_name}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${_name}-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list