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

Thore Bödecker foxxx0 at archlinux.org
Wed Mar 14 11:46:39 UTC 2018


    Date: Wednesday, March 14, 2018 @ 11:46:38
  Author: foxxx0
Revision: 307687

archrelease: copy trunk to community-any

Added:
  python-tempora/repos/community-any/LICENSE
    (from rev 307686, python-tempora/trunk/LICENSE)
  python-tempora/repos/community-any/PKGBUILD
    (from rev 307686, python-tempora/trunk/PKGBUILD)
Deleted:
  python-tempora/repos/community-any/LICENSE
  python-tempora/repos/community-any/PKGBUILD

----------+
 LICENSE  |   14 +++---
 PKGBUILD |  140 +++++++++++++++++++++++++++++++------------------------------
 2 files changed, 80 insertions(+), 74 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2018-03-14 11:46:28 UTC (rev 307686)
+++ LICENSE	2018-03-14 11:46:38 UTC (rev 307687)
@@ -1,7 +0,0 @@
-Copyright Jason R. Coombs
-
-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-tempora/repos/community-any/LICENSE (from rev 307686, python-tempora/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2018-03-14 11:46:38 UTC (rev 307687)
@@ -0,0 +1,7 @@
+Copyright Jason R. Coombs
+
+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	2018-03-14 11:46:28 UTC (rev 307686)
+++ PKGBUILD	2018-03-14 11:46:38 UTC (rev 307687)
@@ -1,67 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
-
-pkgbase='python-tempora'
-_pkgbase="${pkgbase//python-/}"
-pkgname=('python-tempora' 'python2-tempora')
-pkgver=1.9
-pkgrel=1
-pkgdesc="Objects and routines pertaining to date and time (tempora)."
-arch=('any')
-url="https://github.com/jaraco/tempora"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
-  'python2-setuptools-scm' 'python-six' 'python2-six' 'python-pytz'
-  'python2-pytz')
-checkdepends=('python-tox' 'python2-tox' 'python2-backports.unittest_mock')
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/jaraco/${_pkgbase}/archive/${pkgver}.tar.gz"
-        'LICENSE')
-sha512sums=('50c11499a02645dddc1a447f16a29920baea6fc0d9d56d84c2a90f87d8d727ddd700e6b274d9f0931d70377154e058ca9f5a1a56a63c61127c5147cdee5a43a7'
-            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
-
-prepare() {
-    cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
-}
-
-build() {
-    # setuptools wont find version from git tag
-    export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python ./setup.py build
-
-    cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-    python2 ./setup.py build
-}
-
-check() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    tox
-
-    cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-    tox2
-}
-
-package_python-tempora() {
-    depends=('python' 'python-six' 'python-pytz')
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python ./setup.py install --root="${pkgdir}" --optimize=1
-
-    # the author has promised to include a LICENSE file in future releases:
-    # https://github.com/jaraco/skeleton/issues/1
-    # for now the LICENSE file has been taken from:
-    # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE
-    install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-tempora() {
-    depends=('python2' 'python2-six' 'python2-pytz')
-    cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-    python2 ./setup.py install --root="${pkgdir}" --optimize=1
-    mv "${pkgdir}/usr/bin/calc-prorate" "${pkgdir}/usr/bin/calc-prorate2"
-
-    # the author has promised to include a LICENSE file in future releases:
-    # https://github.com/jaraco/skeleton/issues/1
-    # for now the LICENSE file has been taken from:
-    # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE
-    install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-tempora/repos/community-any/PKGBUILD (from rev 307686, python-tempora/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-14 11:46:38 UTC (rev 307687)
@@ -0,0 +1,73 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
+
+pkgbase='python-tempora'
+_pkgbase="${pkgbase//python-/}"
+pkgname=('python-tempora' 'python2-tempora')
+pkgver=1.11
+pkgrel=1
+pkgdesc="Objects and routines pertaining to date and time (tempora)."
+arch=('any')
+url="https://github.com/jaraco/tempora"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
+  'python2-setuptools-scm' 'python-six' 'python2-six' 'python-pytz'
+  'python2-pytz')
+checkdepends=('python-tox' 'python2-tox' 'python2-backports.unittest_mock')
+source=("${pkgbase}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/12/6b/dc2e9370bf3be766302dbd6cd9729e258e875d31a7a21c9f760aaa5b5b5e/${_pkgbase}-${pkgver}.tar.gz"
+        'LICENSE')
+sha512sums=('cda47613cabefabb0c52e2f89f31b405a3b3f17c531a0b890a9ccfd3a3fcd5bc5bec19881ce726972ff61811654e8b5ec8048c9ebad6e87d72d7d98bfa4daeab'
+            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
+
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+    cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
+}
+
+build() {
+    # setuptools wont find version from git tag
+
+    export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python ./setup.py build
+
+    cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+    python2 ./setup.py build
+}
+
+check() {
+    # setuptools wont find version from git tag
+    export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    tox
+
+    cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+    tox2
+}
+
+package_python-tempora() {
+    depends=('python' 'python-six' 'python-pytz')
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python ./setup.py install --root="${pkgdir}" --optimize=1
+
+    # the author has promised to include a LICENSE file in future releases:
+    # https://github.com/jaraco/skeleton/issues/1
+    # for now the LICENSE file has been taken from:
+    # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE
+    install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-tempora() {
+    depends=('python2' 'python2-six' 'python2-pytz')
+    cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
+    python2 ./setup.py install --root="${pkgdir}" --optimize=1
+    mv "${pkgdir}/usr/bin/calc-prorate" "${pkgdir}/usr/bin/calc-prorate2"
+
+    # the author has promised to include a LICENSE file in future releases:
+    # https://github.com/jaraco/skeleton/issues/1
+    # for now the LICENSE file has been taken from:
+    # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE
+    install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list