[arch-commits] Commit in python-email-validator/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Apr 30 19:49:14 UTC 2020
Date: Thursday, April 30, 2020 @ 19:49:14
Author: felixonmars
Revision: 623372
archrelease: copy trunk to community-any
Added:
python-email-validator/repos/community-any/PKGBUILD
(from rev 623371, python-email-validator/trunk/PKGBUILD)
Deleted:
python-email-validator/repos/community-any/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-30 19:48:58 UTC (rev 623371)
+++ PKGBUILD 2020-04-30 19:49:14 UTC (rev 623372)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-email-validator
-pkgver=1.0.5
-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')
-depends=('python-dnspython' 'python-idna')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/JoshData/python-email-validator/archive/v$pkgver.tar.gz")
-sha512sums=('e9dd0ee8dfc603e40591eb8cd4e58c32331c1b9450feb4ae0ff27e1d655d0abb2c8a46b7d0cb43d7e037964f0c120dbad6bf32a60dfe297fb552058733ffd173')
-
-build() {
- cd "$srcdir"/python-email-validator-$pkgver
- python setup.py build
-}
-
-check() {
- export LC_CTYPE=en_US.UTF-8
-
- cd "$srcdir"/python-email-validator-$pkgver
- python email_validator/__init__.py --tests < test_pass.txt
-}
-
-package() {
- cd "$srcdir"/python-email-validator-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-email-validator/repos/community-any/PKGBUILD (from rev 623371, python-email-validator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-30 19:49:14 UTC (rev 623372)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-email-validator
+pkgver=1.1.0
+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')
+depends=('python-dnspython' 'python-idna')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/JoshData/python-email-validator/archive/v$pkgver.tar.gz")
+sha512sums=('9eb3636298dcfc71aa2dada3e10044966181d1a6e5f7cd397a3143c82a855760cf69b129b573f01d75702b96f78da9a9799350bdf6eb8f12cfd7daa013e71604')
+
+build() {
+ cd python-email-validator-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-email-validator-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd python-email-validator-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list