Date: Wednesday, June 27, 2018 @ 09:32:31 Author: foxxx0 Revision: 346328
archrelease: copy trunk to community-any Added: python-tempora/repos/community-any/LICENSE (from rev 346327, python-tempora/trunk/LICENSE) python-tempora/repos/community-any/PKGBUILD (from rev 346327, 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-06-27 09:32:24 UTC (rev 346327) +++ LICENSE 2018-06-27 09:32:31 UTC (rev 346328) @@ -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 346327, python-tempora/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2018-06-27 09:32:31 UTC (rev 346328) @@ -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-06-27 09:32:24 UTC (rev 346327) +++ PKGBUILD 2018-06-27 09:32:31 UTC (rev 346328) @@ -1,73 +0,0 @@ -# Maintainer: Thore Bödecker <fox...@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" -} Copied: python-tempora/repos/community-any/PKGBUILD (from rev 346327, python-tempora/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-06-27 09:32:31 UTC (rev 346328) @@ -0,0 +1,73 @@ +# Maintainer: Thore Bödecker <fox...@archlinux.org> +# Contributor: Laurent Soest <laurent.soest(at)gmail.com> + +pkgbase='python-tempora' +_pkgbase="${pkgbase//python-/}" +pkgname=('python-tempora' 'python2-tempora') +pkgver=1.12 +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/74/77/8fe8fa9ed91e8563b8718f57fc517e4cabc31f5bb0d758b161caf2098ea0/tempora-1.12.tar.gz" + 'LICENSE') +sha512sums=('4acd38fb464e858db371fc4ac6d2082f4f0c676016cdb95d8415895b7d0bdd3c787c2678737e437d1f5861368dd54040ce289407cfeea3ca43b130c56da133b6' + '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" +}