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

Felix Yan felixonmars at gemini.archlinux.org
Wed Jun 8 08:33:43 UTC 2022


    Date: Wednesday, June 8, 2022 @ 08:33:43
  Author: felixonmars
Revision: 1229014

archrelease: copy trunk to community-any

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

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

Deleted: LICENSE
===================================================================
--- LICENSE	2022-06-08 08:33:28 UTC (rev 1229013)
+++ LICENSE	2022-06-08 08:33:43 UTC (rev 1229014)
@@ -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 1229013, python-tempora/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2022-06-08 08:33:43 UTC (rev 1229014)
@@ -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	2022-06-08 08:33:28 UTC (rev 1229013)
+++ PKGBUILD	2022-06-08 08:33:43 UTC (rev 1229014)
@@ -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=5.0.1
-pkgrel=1
-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=('5071091aaf7607d6fc7026b62bae2e418e006611a36a32a1e944cc40862df5e3f2c8fbc74015704cbe631110970238f8e27f346280a2e6e7a81e5b67eda1679b'
-            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
-
-# setuptools won't find version from git tag
-export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
-
-build() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python -c 'from setuptools import setup; setup()' build
-}
-
-check() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    pytest
-}
-
-package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python -c 'from setuptools import setup; setup()' 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-any/PKGBUILD (from rev 1229013, python-tempora/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-08 08:33:43 UTC (rev 1229014)
@@ -0,0 +1,44 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
+
+pkgname='python-tempora'
+_pkgbase="${pkgname//python-/}"
+pkgver=5.0.1
+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-pytz' 'python-jaraco.functools')
+makedepends=('python-setuptools' 'python-setuptools-scm')
+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=('5071091aaf7607d6fc7026b62bae2e418e006611a36a32a1e944cc40862df5e3f2c8fbc74015704cbe631110970238f8e27f346280a2e6e7a81e5b67eda1679b'
+            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
+
+# setuptools won't find version from git tag
+export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+
+build() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python -c 'from setuptools import setup; setup()' build
+}
+
+check() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    pytest
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python -c 'from setuptools import setup; setup()' 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