[arch-commits] Commit in python-email-validator/repos/community-any (2 files)
Felix Yan
fyan at archlinux.org
Mon Mar 7 02:31:08 UTC 2016
Date: Monday, March 7, 2016 @ 03:31:07
Author: fyan
Revision: 165412
archrelease: copy trunk to community-any
Added:
python-email-validator/repos/community-any/PKGBUILD
(from rev 165411, python-email-validator/trunk/PKGBUILD)
Deleted:
python-email-validator/repos/community-any/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-07 02:30:50 UTC (rev 165411)
+++ PKGBUILD 2016-03-07 02:31:07 UTC (rev 165412)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-email-validator
-pkgname=(python-email-validator python2-email-validator)
-pkgver=1.0.0.20160123
-_commit=5af0c32c728178acd45da8fec282e8ceff7810fe
-pkgrel=1
-pkgdesc="A robust email syntax and deliverability validation library for Python 2.x/3.x."
-arch=('any')
-url="https://github.com/JoshData/python-email-validator"
-license=('custom:CC0')
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-dnspython' 'python2-dnspython'
- 'python-idna' 'python2-idna')
-source=("git+https://github.com/JoshData/python-email-validator.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
- sed -i '298s/email/line/g' python-email-validator/email_validator/__init__.py
- cp -a python-email-validator{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-email-validator
- python setup.py build
-
- cd "$srcdir"/python-email-validator-py2
- python2 setup.py build
-}
-
-check() {
- export LC_CTYPE=en_US.UTF-8
-
- cd "$srcdir"/python-email-validator
- python email_validator/__init__.py --tests < test_pass.txt
-
- cd "$srcdir"/python-email-validator-py2
- python2 email_validator/__init__.py --tests < test_pass.txt
-}
-
-package_python-email-validator() {
- depends=('python-dnspython' 'python-idna')
-
- cd "$srcdir"/python-email-validator
- python setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-email-validator() {
- depends=('python2-dnspython' 'python2-idna')
-
- cd "$srcdir"/python-email-validator-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- mv "$pkgdir"/usr/bin/email_validator{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-email-validator/repos/community-any/PKGBUILD (from rev 165411, python-email-validator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-07 02:31:07 UTC (rev 165412)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-email-validator
+pkgname=(python-email-validator python2-email-validator)
+pkgver=1.0.1
+_commit=6b7e3e362eaeb2b1ae4281f4d18421bd31dad3fb
+pkgrel=1
+pkgdesc="A robust email syntax and deliverability validation library for Python 2.x/3.x."
+arch=('any')
+url="https://github.com/JoshData/python-email-validator"
+license=('custom:CC0')
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-dnspython' 'python2-dnspython'
+ 'python-idna' 'python2-idna')
+source=("git+https://github.com/JoshData/python-email-validator.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a python-email-validator{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-email-validator
+ python setup.py build
+
+ cd "$srcdir"/python-email-validator-py2
+ python2 setup.py build
+}
+
+check() {
+ export LC_CTYPE=en_US.UTF-8
+
+ cd "$srcdir"/python-email-validator
+ python email_validator/__init__.py --tests < test_pass.txt
+
+ cd "$srcdir"/python-email-validator-py2
+ python2 email_validator/__init__.py --tests < test_pass.txt
+}
+
+package_python-email-validator() {
+ depends=('python-dnspython' 'python-idna')
+
+ cd "$srcdir"/python-email-validator
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-email-validator() {
+ depends=('python2-dnspython' 'python2-idna')
+
+ cd "$srcdir"/python-email-validator-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv "$pkgdir"/usr/bin/email_validator{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list