[arch-commits] Commit in python-strict-rfc3339/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 14:46:28 UTC 2020
Date: Thursday, February 13, 2020 @ 14:46:27
Author: felixonmars
Revision: 570503
archrelease: copy trunk to community-any
Added:
python-strict-rfc3339/repos/community-any/PKGBUILD
(from rev 570502, python-strict-rfc3339/trunk/PKGBUILD)
Deleted:
python-strict-rfc3339/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 +++++++++++++++++++++++--------------------------------------
1 file changed, 25 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-13 14:46:13 UTC (rev 570502)
+++ PKGBUILD 2020-02-13 14:46:27 UTC (rev 570503)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-strict-rfc3339
-pkgname=(python-strict-rfc3339 python2-strict-rfc3339)
-pkgver=0.7
-pkgrel=4
-pkgdesc="Strict, simple, lightweight RFC3339 functions"
-url="http://www.danielrichman.co.uk/libraries/strict-rfc3339.html"
-license=('GPL')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/s/strict-rfc3339/strict-rfc3339-$pkgver.tar.gz")
-sha512sums=('94a2992a9ea41b75527348f0f8dae1d118d57b0764122f874baa85f5e3b523beb219ed83c2d7224725e504cd3737a6bde485957135856dcde470f32675e44e77')
-
-prepare() {
- cp -a strict-rfc3339-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/strict-rfc3339-$pkgver
- python setup.py build
-
- cd "$srcdir"/strict-rfc3339-$pkgver-py2
- python2 setup.py build
-}
-
-package_python-strict-rfc3339() {
- depends=('python')
-
- cd strict-rfc3339-$pkgver
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-strict-rfc3339() {
- depends=('python2')
-
- cd strict-rfc3339-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-strict-rfc3339/repos/community-any/PKGBUILD (from rev 570502, python-strict-rfc3339/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-13 14:46:27 UTC (rev 570503)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-strict-rfc3339
+pkgver=0.7
+pkgrel=5
+pkgdesc="Strict, simple, lightweight RFC3339 functions"
+url="http://www.danielrichman.co.uk/libraries/strict-rfc3339.html"
+license=('GPL')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/s/strict-rfc3339/strict-rfc3339-$pkgver.tar.gz")
+sha512sums=('94a2992a9ea41b75527348f0f8dae1d118d57b0764122f874baa85f5e3b523beb219ed83c2d7224725e504cd3737a6bde485957135856dcde470f32675e44e77')
+
+build() {
+ cd strict-rfc3339-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd strict-rfc3339-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list