[arch-commits] Commit in python2-formencode/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:18:00 UTC 2018
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 <xyproto at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Todd Maynard <arch at 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:
More information about the arch-commits
mailing list