diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/isodate | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/isodate')
| -rw-r--r-- | dev-python/isodate/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/isodate/isodate-0.6.0-r1.ebuild | 27 | ||||
| -rw-r--r-- | dev-python/isodate/metadata.xml | 25 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/isodate/Manifest b/dev-python/isodate/Manifest new file mode 100644 index 000000000000..2b503a30fc90 --- /dev/null +++ b/dev-python/isodate/Manifest @@ -0,0 +1 @@ +DIST isodate-0.6.0.tar.gz 28480 BLAKE2B a7499c736b67193ac73026df7a7c9d9bd5b743a5d556fe5e8ba0a62e8a5238d64afb88547a27e4bcbe706483e3e1e97eecd437e4e1c730c20652cff5926502fc SHA512 e977748e13ee2c94ab47bfc47113d152280e9acff6f70e773de73717392148dd2c111a7db2d9fa3679d37936c6ed9a23dc526cb00bd601df45459b6a244f9f7d diff --git a/dev-python/isodate/isodate-0.6.0-r1.ebuild b/dev-python/isodate/isodate-0.6.0-r1.ebuild new file mode 100644 index 000000000000..a3724d35406f --- /dev/null +++ b/dev-python/isodate/isodate-0.6.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="ISO 8601 date/time/duration parser and formatter" +HOMEPAGE="https://pypi.org/project/isodate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( ${RDEPEND} )" + +python_test() { + "${EPYTHON}" -m unittest discover -v -s "${BUILD_DIR}/lib" \ + || die "Testing failed with ${EPYTHON}" +} diff --git a/dev-python/isodate/metadata.xml b/dev-python/isodate/metadata.xml new file mode 100644 index 000000000000..ae04e91b6728 --- /dev/null +++ b/dev-python/isodate/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription> + This module implements ISO 8601 date, time and duration + parsing. The implementation follows ISO8601:2004 standard, and + implements only date/time representations mentioned in the standard. If + something is not mentioned there, then it is treated as non existent, + and not as an allowed option. + As this module maps ISO 8601 dates/times to standard Python data types, + like date, time, datetime and timedelta, it is not possible to convert + all possible ISO 8601 dates/times. For instance, dates before 0001-01-01 + are not allowed by the Python date and datetime classes. Additionally + fractional seconds are limited to microseconds. That means if the parser + finds for instance nanoseconds it will round it to microseconds. + </longdescription> + <upstream> + <remote-id type="pypi">isodate</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
