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

Alexandre Filgueira faidoc at archlinux.org
Sat May 28 00:02:21 UTC 2016


    Date: Saturday, May 28, 2016 @ 02:02:21
  Author: faidoc
Revision: 177348

archrelease: copy trunk to community-any

Added:
  python-polib/repos/community-any/
  python-polib/repos/community-any/PKGBUILD
    (from rev 177347, python-polib/trunk/PKGBUILD)

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

Copied: python-polib/repos/community-any/PKGBUILD (from rev 177347, python-polib/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-05-28 00:02:21 UTC (rev 177348)
@@ -0,0 +1,25 @@
+# $Id$
+# Contributor: Esteban V. Carnevale <alfplayer at mailoo.com>
+
+pkgname=python-polib
+_pkgname=polib
+pkgver=1.0.7
+pkgrel=1
+pkgdesc='A library to manipulate gettext files (Python3)'
+url='https://pypi.python.org/pypi/polib'
+arch=('any')
+license=('MIT')
+depends=('python')
+source=("https://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('43ce60d05ffa442ba9d3c5722193aadb93c38174b9fb471c8ea7ccbf8349bbca')
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list