Date: Friday, November 9, 2018 @ 22:18:00
  Author: felixonmars
Revision: 404906

archrelease: copy trunk to community-staging-any

Added:
  python2-formencode/repos/community-staging-any/
  python2-formencode/repos/community-staging-any/PKGBUILD
    (from rev 404904, python2-formencode/trunk/PKGBUILD)

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

Copied: python2-formencode/repos/community-staging-any/PKGBUILD (from rev 
404904, python2-formencode/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2018-11-09 22:18:00 UTC (rev 404906)
@@ -0,0 +1,27 @@
+# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
+# Contributor: Aaron Griffin <aa...@archlinux.org>
+# Contributor: Todd Maynard <a...@toddmaynard.com>
+
+pkgname=python2-formencode
+pkgver=1.3.0a1
+pkgrel=4
+pkgdesc='HTML form validation, generation and conversion'
+arch=('any')
+license=('PSF')
+url='http://formencode.org/'
+depends=('python2')
+makedepends=('python2-setuptools')
+replaces=('python-formencode<=1.2.4-1')
+source=("https://pypi.python.org/packages/source/F/FormEncode/FormEncode-$pkgver.tar.gz";)
+sha256sums=('026988e9c9b5176ecc75f047624c24e88e82be401e21f8c2008ca6fb2f99290d')
+
+package() {
+  cd "FormEncode-$pkgver"
+
+  python2 setup.py install --root="$pkgdir" install
+
+  # Remove documentation that conflicts with other packages
+  rm -rf "$pkgdir/usr/lib/python2.7/site-packages/docs"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to