dev-python/dateparser: add 1.2.0, update 1.1.7

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-02-18 11:21:55 +01:00
parent 625c7f5a7d
commit 2b1bf6f66c
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 40 additions and 14 deletions

View File

@ -617,14 +617,14 @@ 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 1800 Ebuilds in total, 1789 of them have in total 1808 (42 different) licenses assigned.
There are 1803 Ebuilds in total, 1792 of them have in total 1811 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1024|
|Apache-2.0|403|
|Apache-2.0|405|
|GPL-3|118|
|BSD|101|
|BSD|102|
|LGPL-3|24|
|GPL-2|21|
|all-rights-reserved|13|

View File

@ -1,3 +1,5 @@
DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70 SHA512 d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907
EBUILD dateparser-1.1.7.ebuild 752 BLAKE2B d94ed4d13bd818d6d444d0cda7883a7656104947a59d92ed21894a76fbd974b80e53bb48186f95e842becc91cd7b4ab7de28720f5ddb5254c6c917f89df45ba7 SHA512 aa2b9ad798d856acb189fba6b2db49a5d001f6c86425db17063bdf0ac659e7e8d7026f7575dd6b4cf98aa9117ec008da04f8caac19e357ce8bc4346f3c79db2d
DIST dateparser-1.2.0.tar.gz 307260 BLAKE2B b4611dfc4fccaf5f129e4d9aa3debe4a6d4242a44896305b909e6c34728ba153be92659b2f0c3a5da028d3863789d9c3a4236676087346b5f3f4aeb1f57b7a1e SHA512 74d5975f515dee096d83d10b72e5dc66ab197d50f24c129560ffb87eef4abd1422d8236555496d1ab1c0bfb832729e9c0d3ea2ca2c9c49da19963f0f2c1c1eb4
EBUILD dateparser-1.1.7-r1.ebuild 745 BLAKE2B 495015055c4f7a34cd80dcd435d88ade670fecf2394ab02a9f26476f8fda8bb172fee4ed0d6ecee89b28df2762775fb2a0592cb1fd4ba472de7966fd7b6eb42b SHA512 75fb31a6c5ef9cffe10b72d518d18d776b6fb8e6420dabac6f654da7e9004ccd834a3c90a6c08494e652551543b8048dc7a8cd2e17991f265c2980360e703f04
EBUILD dateparser-1.2.0.ebuild 745 BLAKE2B 495015055c4f7a34cd80dcd435d88ade670fecf2394ab02a9f26476f8fda8bb172fee4ed0d6ecee89b28df2762775fb2a0592cb1fd4ba472de7966fd7b6eb42b SHA512 75fb31a6c5ef9cffe10b72d518d18d776b6fb8e6420dabac6f654da7e9004ccd834a3c90a6c08494e652551543b8048dc7a8cd2e17991f265c2980360e703f04
MISC metadata.xml 517 BLAKE2B 9e9a54ac8c31f8fd9ab8d8a92027155f12de25f15ba6cfba429f3657d03a710c30486a97238d0ae239cbc828c8437e5ef3e9236c7f6892d95b2e9f6cef2b5563 SHA512 1e57cd4e7fd5a8b671600207778db7619dd61dd03dfe0b78801087ab506b4589a1124cf36f65ad8c5d6efc25ddb8e6adbad6b092101813be253c74aea029d6c3

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -17,18 +17,13 @@ RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/python-dateutil
dev-python/pytz
dev-python/regex
dev-python/tzlocal"
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,29 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
HOMEPAGE="https://github.com/scrapinghub/dateparser https://pypi.org/project/dateparser/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest