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

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:54:55 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:54:55
  Author: foutrelis
Revision: 141020

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyenchant/repos/community-staging-any/PKGBUILD (from rev 141019, python-pyenchant/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 16:54:55 UTC (rev 141020)
@@ -0,0 +1,45 @@
+# $Id$
+# Contributor: Pierre Buard <pierre.buard at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Sebastien Piccand <sebcactus gmail com>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=('python-pyenchant' 'python2-pyenchant')
+pkgver=1.6.6
+pkgrel=2
+arch=('any')
+url="https://pypi.python.org/pypi/pyenchant"
+license=('LGPL')
+makedepends=('python2-setuptools' 'python-setuptools' 'enchant')
+source=("http://pypi.python.org/packages/source/p/pyenchant/pyenchant-${pkgver}.tar.gz")
+md5sums=('9f5acfd87d04432bf8df5f9710a17358')
+
+build() {
+  cp -r pyenchant-${pkgver} pyenchant2-${pkgver}
+
+  cd ${srcdir}/pyenchant-${pkgver}
+
+  python3 setup.py build
+
+  cd ${srcdir}/pyenchant2-${pkgver}
+
+  python2 setup.py build
+}
+
+package_python-pyenchant() {
+  pkgdesc="PyEnchant is a spellchecking library for Python3 based on the Enchant library"
+  depends=('python' 'enchant')
+
+  cd pyenchant-${pkgver}
+  
+  python3 setup.py install --root=${pkgdir} --optimize=1
+}
+
+package_python2-pyenchant() {
+  pkgdesc="PyEnchant is a spellchecking library for Python2 based on the Enchant library"
+  depends=('python2' 'enchant')
+
+  cd pyenchant2-${pkgver}
+  
+  python2 setup.py install --root=${pkgdir} --optimize=1
+}



More information about the arch-commits mailing list