[arch-commits] Commit in python-tempora/repos/community-any (4 files)
Thore Bödecker
foxxx0 at archlinux.org
Mon Nov 5 10:34:28 UTC 2018
Date: Monday, November 5, 2018 @ 10:34:28
Author: foxxx0
Revision: 401549
archrelease: copy trunk to community-any
Added:
python-tempora/repos/community-any/LICENSE
(from rev 401548, python-tempora/trunk/LICENSE)
python-tempora/repos/community-any/PKGBUILD
(from rev 401548, python-tempora/trunk/PKGBUILD)
Deleted:
python-tempora/repos/community-any/LICENSE
python-tempora/repos/community-any/PKGBUILD
----------+
LICENSE | 14 ++---
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 80 insertions(+), 80 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2018-11-05 10:34:20 UTC (rev 401548)
+++ LICENSE 2018-11-05 10:34:28 UTC (rev 401549)
@@ -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 401548, python-tempora/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2018-11-05 10:34:28 UTC (rev 401549)
@@ -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-11-05 10:34:20 UTC (rev 401548)
+++ PKGBUILD 2018-11-05 10:34:28 UTC (rev 401549)
@@ -1,73 +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.13
-pkgrel=2
-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/27/67/f2a19a71e9bc2d460d75a6745f8de868ccdf99e6a56e5ad8e89e22d80b0d/tempora-1.13.tar.gz"
- 'LICENSE')
-sha512sums=('98927024f07196a51b8d61017786cfc258db289ab9c98942cca2501074c1675bf1213770ad00db1d38829017bb9928cccde7fb344c170b2f485fc68505737485'
- '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"
-}
Copied: python-tempora/repos/community-any/PKGBUILD (from rev 401548, python-tempora/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-05 10:34:28 UTC (rev 401549)
@@ -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.14
+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/e5/8e/cab8051815c822f96dd570df010e18a52575535e32b3f90e536570221aaa/tempora-1.14.tar.gz"
+ 'LICENSE')
+sha512sums=('dea359fcb5eebda2db6b0de2e615ef6681860e9b8ecdb6041316623b9072067f08cd19d72d9a9e1fc792da7c5760f5e2382bedcbe09467109557448bae1fd8cf'
+ '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