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

Levente Polyak anthraxx at archlinux.org
Mon Oct 22 22:10:50 UTC 2018


    Date: Monday, October 22, 2018 @ 22:10:50
  Author: anthraxx
Revision: 398526

archrelease: copy trunk to community-any

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

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

Copied: python-sqlalchemy-i18n/repos/community-any/PKGBUILD (from rev 398525, python-sqlalchemy-i18n/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-22 22:10:50 UTC (rev 398526)
@@ -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=1
+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