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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 20:04:06 UTC 2021


    Date: Thursday, December 2, 2021 @ 20:04:05
  Author: foutrelis
Revision: 1062492

archrelease: copy trunk to community-staging-any

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

----------+
 LICENSE  |   14 ++++-----
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 52 insertions(+), 52 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2021-12-02 20:04:04 UTC (rev 1062491)
+++ LICENSE	2021-12-02 20:04:05 UTC (rev 1062492)
@@ -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-staging-any/LICENSE (from rev 1062490, python-tempora/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2021-12-02 20:04:05 UTC (rev 1062492)
@@ -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	2021-12-02 20:04:04 UTC (rev 1062491)
+++ PKGBUILD	2021-12-02 20:04:05 UTC (rev 1062492)
@@ -1,45 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
-
-pkgname='python-tempora'
-_pkgbase="${pkgname//python-/}"
-pkgver=4.1.2
-pkgrel=2
-pkgdesc="Objects and routines pertaining to date and time (tempora)."
-arch=('any')
-url="https://github.com/jaraco/tempora"
-license=('MIT')
-depends=('python' 'python-six' 'python-pytz' 'python-jaraco')
-makedepends=('python-setuptools' 'python-setuptools-scm' 'python-six'
-             'python-pytz' 'python-jaraco')
-checkdepends=('python-pytest' 'python-pytest-flake8' 'python-pytest-cov'
-              'python-pytest-black' 'python-freezegun' 'python-pytest-freezegun'
-              'python-pytest-mypy')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
-        'LICENSE')
-sha512sums=('9f7a6bb3f2b22c9e8616b815f385f0c986612bef43de0e65a00a89ddc1080e4c35b9128e0fc32c3c7dbf507a62041bba40c8e51673613299037cfdf63ee451a3'
-            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
-
-# setuptools won't find version from git tag
-export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
-
-build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python ./setup.py build
-}
-
-check() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    pytest
-}
-
-package() {
-    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"
-}

Copied: python-tempora/repos/community-staging-any/PKGBUILD (from rev 1062490, python-tempora/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 20:04:05 UTC (rev 1062492)
@@ -0,0 +1,45 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
+
+pkgname='python-tempora'
+_pkgbase="${pkgname//python-/}"
+pkgver=4.1.2
+pkgrel=3
+pkgdesc="Objects and routines pertaining to date and time (tempora)."
+arch=('any')
+url="https://github.com/jaraco/tempora"
+license=('MIT')
+depends=('python' 'python-six' 'python-pytz' 'python-jaraco')
+makedepends=('python-setuptools' 'python-setuptools-scm' 'python-six'
+             'python-pytz' 'python-jaraco')
+checkdepends=('python-pytest' 'python-pytest-flake8' 'python-pytest-cov'
+              'python-pytest-black' 'python-freezegun' 'python-pytest-freezegun'
+              'python-pytest-mypy')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+        'LICENSE')
+sha512sums=('9f7a6bb3f2b22c9e8616b815f385f0c986612bef43de0e65a00a89ddc1080e4c35b9128e0fc32c3c7dbf507a62041bba40c8e51673613299037cfdf63ee451a3'
+            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
+
+# setuptools won't find version from git tag
+export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+
+build() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python ./setup.py build
+}
+
+check() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    pytest
+}
+
+package() {
+    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"
+}



More information about the arch-commits mailing list