diff options
Diffstat (limited to 'dev-python/tempora')
-rw-r--r-- | dev-python/tempora/Manifest | 7 | ||||
-rw-r--r-- | dev-python/tempora/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/tempora/tempora-1.12.ebuild | 54 | ||||
-rw-r--r-- | dev-python/tempora/tempora-1.13.ebuild | 55 | ||||
-rw-r--r-- | dev-python/tempora/tempora-1.7.ebuild | 53 |
5 files changed, 183 insertions, 0 deletions
diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest new file mode 100644 index 000000000000..949063e37e62 --- /dev/null +++ b/dev-python/tempora/Manifest @@ -0,0 +1,7 @@ +DIST tempora-1.12.tar.gz 15208 BLAKE2B ced6e5d069780b516ff791ee598683f59d02588d45282f1b6b6c2b8b61d354bc399d10c961b5a112c7ef1185c3661cbe9b1b9c95ab28d42ed2429fa4f504917e SHA512 4acd38fb464e858db371fc4ac6d2082f4f0c676016cdb95d8415895b7d0bdd3c787c2678737e437d1f5861368dd54040ce289407cfeea3ca43b130c56da133b6 +DIST tempora-1.13.tar.gz 15956 BLAKE2B 7b00c4cf04628c1bb6a84b7044a22921f81bd77ff340342d7256acf8bb8b1b427fb15b9c10c28cfa4c99b02e4cee6e2b26ae53be0ed7ef67e3d6f528fb2e9a3d SHA512 98927024f07196a51b8d61017786cfc258db289ab9c98942cca2501074c1675bf1213770ad00db1d38829017bb9928cccde7fb344c170b2f485fc68505737485 +DIST tempora-1.7.tar.gz 11645 BLAKE2B d354fb863a8d30bd9e603ad942d7c7f61a70c24e7f1fe94fffd59982431190e2807c2dc577ff83eb90ffc5fd2b2f8415965de1d77e4dca0dd02291733bfbb97c SHA512 2420e32a9b8c990609d8f09225004e0b1c445cad1fe3c3c74625cb8317b552469acf2d3b28aa56633a87260a93c77d73b02178cb662016c514bc740aa01399e5 +EBUILD tempora-1.12.ebuild 1368 BLAKE2B c5f7a160aa7d8fb6bd04f66a5043a799a92ade386ae18fd9998a75bbb20d44ddec6daf909630bb34e23c765611a4cfcc6f6675bb4ca45bd553ad39eb4e6c2bfc SHA512 9ed24331515ee0c03c51598133338f7213e652dff08f374a4bd4a8d869ad07e330e5de48aead91e27321a5ba12b212290639774718f77df60cb2cd865124b34d +EBUILD tempora-1.13.ebuild 1403 BLAKE2B b003fc6754003f3d89984bb22eac679903fe4db5a5ef87c1a09911430eebe0a632ea7fcd1eecd1358a16517356b47721de2cdd61720b83a2e4823c77138e60c1 SHA512 ff2762051801607a78589d92b54245d38ab8b3f0cce863bea3b67ea4509e14fef113c1df3b4ceb649b31e015fb4b99ddcd720f3924cb1d4b800877e8fcd7bfb4 +EBUILD tempora-1.7.ebuild 1274 BLAKE2B 7cf4856b2eabd47a99c6150512e678c9c436fcc3511f2e23ab848d0e96ecdd5e49c235c86a5a942b620d6893fbbde546665d9347c9296465ce19a2caf83960cb SHA512 0e4a5b8e6296894c411accbc107a8dc677bd68ac0d6b190c699200636ab853e3980de9691a316dae2f928008ca87a7137e98c7fe6c0db89a0cba04efebb9ea8d +MISC metadata.xml 514 BLAKE2B a504d20d519ee139ccda1418b4a6f4d9c1b47a17dae26a57e2bc9e55d31b44f6f74b4a3835a6e9f376431b2428b5885b6931bdd6f11d57549c9ac29593b8e0ef SHA512 aed0cf45d8b0d1f3aa942dad7d74c572d6cb501c0c61438ca6bf97cbdfa51091cf9c32753cd92440ff69c7faae67daff0ccae28d9223b182ea89426bd4bf4fb1 diff --git a/dev-python/tempora/metadata.xml b/dev-python/tempora/metadata.xml new file mode 100644 index 000000000000..9b6de18095eb --- /dev/null +++ b/dev-python/tempora/metadata.xml @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <upstream> + <remote-id type="pypi">tempora</remote-id> + <remote-id type="github">jaraco/tempora</remote-id> + <bugs-to>https://github.com/jaraco/tempora/issues</bugs-to> + <changelog>https://github.com/jaraco/tempora/blob/master/CHANGES.rst</changelog> + </upstream> +</pkgmetadata> diff --git a/dev-python/tempora/tempora-1.12.ebuild b/dev-python/tempora/tempora-1.12.ebuild new file mode 100644 index 000000000000..0d45c046097b --- /dev/null +++ b/dev-python/tempora/tempora-1.12.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE="https://github.com/jaraco/tempora" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86" +IUSE="doc test" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +# The calc-prorate binary used to be part of jaraco.utils +DEPEND=" + !<=dev-python/jaraco-utils-10.0.2 + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/tempora/tempora-1.13.ebuild b/dev-python/tempora/tempora-1.13.ebuild new file mode 100644 index 000000000000..55cc14bf4e43 --- /dev/null +++ b/dev-python/tempora/tempora-1.13.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE="https://github.com/jaraco/tempora" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +# The calc-prorate binary used to be part of jaraco.utils +DEPEND=" + !<=dev-python/jaraco-utils-10.0.2 + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/tempora/tempora-1.7.ebuild b/dev-python/tempora/tempora-1.7.ebuild new file mode 100644 index 000000000000..ee5115c2e860 --- /dev/null +++ b/dev-python/tempora/tempora-1.7.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE="https://github.com/jaraco/tempora" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc test" + +RDEPEND=" + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +# The calc-prorate binary used to be part of jaraco.utils +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + !<=dev-python/jaraco-utils-10.0.2 + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + doc? ( + >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + distutils-r1_python_install_all +} |