dev-python/DateTime: new package, add 5.3

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 13:13:52 +01:00 committed by Andreas Billmeier
parent c75209dc07
commit f202245ca1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 55 additions and 3 deletions

View File

@ -612,12 +612,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1699 Ebuilds in total, 1688 of them have in total 1708 (43 different) licenses assigned.
There are 1701 Ebuilds in total, 1690 of them have in total 1710 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|993|
|Apache-2.0|358|
|Apache-2.0|359|
|GPL-3|96|
|BSD|96|
|GPL-2|24|
@ -631,11 +631,11 @@ There are 1699 Ebuilds in total, 1688 of them have in total 1708 (43 different)
|MPL-2.0|5|
|LGPL-2.1|5|
|EPL-1.0|4|
|ZPL|3|
|LGPL-2.1+|3|
|public-domain|3|
|BSD-4|3|
|AGPL-3+|2|
|ZPL|2|
|LGPL-2+|2|
|PSF-2|2|
|LGPL-2|2|

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="This package provides a DateTime data type, as known from Zope. Unless you need to communicate with Zope APIs, you're probably better off using Python's built-in datetime module."
HOMEPAGE="https://github.com/zopefoundation/DateTime https://pypi.org/project/DateTime/"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/zope-interface[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,3 @@
DIST DateTime-5.3.tar.gz 62826 BLAKE2B 1b16e69027edb7db6af6ca9b3421ab5a5c182983f16b908c31278f76f0a80d3440411a5d3e8b58d9da8ad5cbd141f823340e371cfc5ac08002cc0c68f9f6072c SHA512 5cd0e9164730baf4384b4064aa748b12c797613e22b8e54a08e3c5b0e1659f62e5862d23629d50d43b41a9be5440dafe21f59499a885147d9f51e3e67757afba
EBUILD DateTime-5.3.ebuild 845 BLAKE2B 287d55b3c095d429154920d0a2162d1309b2a5f6ec2add5486607e04d417db67d1ee747cc0ab61b932d97c850100fc2c39585c847ca2e0d02fdf846ac3c618a3 SHA512 da52f44e441b7c7c1490e05898e40d7a9760531ad6fbb7ee74df29d806f0ff7593b52af3cd10f3d5badf64359ed7361f07cb84c0e85ed61aef2ad8bd26a983e0
MISC metadata.xml 535 BLAKE2B 2014e35d5193f6d1e54a95b9effad49d1c6e7aa0d02b5ac055a12e765e2edc2c6b4cb64b4150d1a8f466dea361edba169ce9e3f7d8fe647a2326b2ce80c7af9d SHA512 e9449a728a77184f013df49b0efb97a5fa5b6f83b3be19776db3e78b60f1cdb7e50e499d116d6faa48761a4ce20b265d144009dbe8e47e185e2e423c6b3292ab

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">DateTime</remote-id>
<remote-id type="github">zopefoundation/DateTime</remote-id>
<maintainer status="unknown">
<email>zope-dev@zope.org</email>
<name>Zope Foundation and Contributors</name>
</maintainer>
</upstream>
</pkgmetadata>