[arch-commits] Commit in python-pyrfc3339/repos/community-any (4 files)

Jelle van der Waa jelle at archlinux.org
Wed May 13 12:35:05 UTC 2020


    Date: Wednesday, May 13, 2020 @ 12:35:03
  Author: jelle
Revision: 627641

archrelease: copy trunk to community-any

Added:
  python-pyrfc3339/repos/community-any/LICENSE.txt
    (from rev 627640, python-pyrfc3339/trunk/LICENSE.txt)
  python-pyrfc3339/repos/community-any/PKGBUILD
    (from rev 627640, python-pyrfc3339/trunk/PKGBUILD)
Deleted:
  python-pyrfc3339/repos/community-any/LICENSE.txt
  python-pyrfc3339/repos/community-any/PKGBUILD

-------------+
 LICENSE.txt |   38 ++++++++++++-------------
 PKGBUILD    |   85 ++++++++++++++++++++++------------------------------------
 2 files changed, 52 insertions(+), 71 deletions(-)

Deleted: LICENSE.txt
===================================================================
--- LICENSE.txt	2020-05-13 12:34:51 UTC (rev 627640)
+++ LICENSE.txt	2020-05-13 12:35:03 UTC (rev 627641)
@@ -1,19 +0,0 @@
-Copyright (c) 2010 Kurt Raschke
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.

Copied: python-pyrfc3339/repos/community-any/LICENSE.txt (from rev 627640, python-pyrfc3339/trunk/LICENSE.txt)
===================================================================
--- LICENSE.txt	                        (rev 0)
+++ LICENSE.txt	2020-05-13 12:35:03 UTC (rev 627641)
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Kurt Raschke
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 12:34:51 UTC (rev 627640)
+++ PKGBUILD	2020-05-13 12:35:03 UTC (rev 627641)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
-
-pkgname=(python-pyrfc3339 python2-pyrfc3339)
-pkgver=1.1
-pkgrel=4
-pkgdesc="Parses and generates RFC 3339-compliant timestamps using Python datetime.datetime objects."
-arch=('any')
-license=('MIT')
-url="https://pypi.python.org/pypi/pyRFC3339"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pytz' 'python2-pytz')
-checkdepends=('python-nose' 'python2-nose')
-source=("https://pypi.python.org/packages/source/p/pyRFC3339/pyRFC3339-${pkgver}.tar.gz"
-        LICENSE.txt)
-sha512sums=('958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f'
-            '73c58b87e14593ee283cc323a93820c18a00e9af4e5027687fc8f6cd5735c98f341c6ac1aa90c040d0899766cabb976a85201b171874b4b81934ff02a9728f2d')
-
-prepare() {
-  cp -a pyRFC3339-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/pyRFC3339-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/pyRFC3339-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/pyRFC3339-$pkgver"
-  python setup.py test
-
-  cd "$srcdir/pyRFC3339-$pkgver-py2"
-  python2 setup.py test
-}
-
-package_python-pyrfc3339() {
-  depends=('python-pytz')
-
-  cd "$srcdir/pyRFC3339-$pkgver"
-  python setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
-
-package_python2-pyrfc3339() {
-  depends=('python2-pytz')
-
-  cd "$srcdir/pyRFC3339-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: python-pyrfc3339/repos/community-any/PKGBUILD (from rev 627640, python-pyrfc3339/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-13 12:35:03 UTC (rev 627641)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=python-pyrfc3339
+pkgver=1.1
+pkgrel=5
+pkgdesc="Parses and generates RFC 3339-compliant timestamps using Python datetime.datetime objects."
+arch=('any')
+license=('MIT')
+url="https://pypi.python.org/pypi/pyRFC3339"
+depends=('python-pytz')
+makedepends=('python-setuptools' 'python-pytz')
+checkdepends=('python-nose')
+source=("https://pypi.python.org/packages/source/p/pyRFC3339/pyRFC3339-${pkgver}.tar.gz"
+        LICENSE.txt)
+sha512sums=('958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f'
+            '73c58b87e14593ee283cc323a93820c18a00e9af4e5027687fc8f6cd5735c98f341c6ac1aa90c040d0899766cabb976a85201b171874b4b81934ff02a9728f2d')
+
+build() {
+  cd "$srcdir/pyRFC3339-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/pyRFC3339-$pkgver"
+  python setup.py test
+}
+
+package() {
+  cd "$srcdir/pyRFC3339-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}


More information about the arch-commits mailing list