Skip to content

Commit 2b1bf6f

Browse files
committed
dev-python/dateparser: add 1.2.0, update 1.1.7
Signed-off-by: Andreas Billmeier <[email protected]>
1 parent 625c7f5 commit 2b1bf6f

File tree

4 files changed

+40
-14
lines changed

4 files changed

+40
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,14 +617,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
617617

618618
## Licenses
619619
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.
620-
There are 1800 Ebuilds in total, 1789 of them have in total 1808 (42 different) licenses assigned.
620+
There are 1803 Ebuilds in total, 1792 of them have in total 1811 (42 different) licenses assigned.
621621

622622
|License| Ebuilds using it|
623623
|-------|-----|
624624
|MIT|1024|
625-
|Apache-2.0|403|
625+
|Apache-2.0|405|
626626
|GPL-3|118|
627-
|BSD|101|
627+
|BSD|102|
628628
|LGPL-3|24|
629629
|GPL-2|21|
630630
|all-rights-reserved|13|

dev-python/dateparser/Manifest

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70 SHA512 d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907
2-
EBUILD dateparser-1.1.7.ebuild 752 BLAKE2B d94ed4d13bd818d6d444d0cda7883a7656104947a59d92ed21894a76fbd974b80e53bb48186f95e842becc91cd7b4ab7de28720f5ddb5254c6c917f89df45ba7 SHA512 aa2b9ad798d856acb189fba6b2db49a5d001f6c86425db17063bdf0ac659e7e8d7026f7575dd6b4cf98aa9117ec008da04f8caac19e357ce8bc4346f3c79db2d
2+
DIST dateparser-1.2.0.tar.gz 307260 BLAKE2B b4611dfc4fccaf5f129e4d9aa3debe4a6d4242a44896305b909e6c34728ba153be92659b2f0c3a5da028d3863789d9c3a4236676087346b5f3f4aeb1f57b7a1e SHA512 74d5975f515dee096d83d10b72e5dc66ab197d50f24c129560ffb87eef4abd1422d8236555496d1ab1c0bfb832729e9c0d3ea2ca2c9c49da19963f0f2c1c1eb4
3+
EBUILD dateparser-1.1.7-r1.ebuild 745 BLAKE2B 495015055c4f7a34cd80dcd435d88ade670fecf2394ab02a9f26476f8fda8bb172fee4ed0d6ecee89b28df2762775fb2a0592cb1fd4ba472de7966fd7b6eb42b SHA512 75fb31a6c5ef9cffe10b72d518d18d776b6fb8e6420dabac6f654da7e9004ccd834a3c90a6c08494e652551543b8048dc7a8cd2e17991f265c2980360e703f04
4+
EBUILD dateparser-1.2.0.ebuild 745 BLAKE2B 495015055c4f7a34cd80dcd435d88ade670fecf2394ab02a9f26476f8fda8bb172fee4ed0d6ecee89b28df2762775fb2a0592cb1fd4ba472de7966fd7b6eb42b SHA512 75fb31a6c5ef9cffe10b72d518d18d776b6fb8e6420dabac6f654da7e9004ccd834a3c90a6c08494e652551543b8048dc7a8cd2e17991f265c2980360e703f04
35
MISC metadata.xml 517 BLAKE2B 9e9a54ac8c31f8fd9ab8d8a92027155f12de25f15ba6cfba429f3657d03a710c30486a97238d0ae239cbc828c8437e5ef3e9236c7f6892d95b2e9f6cef2b5563 SHA512 1e57cd4e7fd5a8b671600207778db7619dd61dd03dfe0b78801087ab506b4589a1124cf36f65ad8c5d6efc25ddb8e6adbad6b092101813be253c74aea029d6c3

dev-python/dateparser/dateparser-1.1.7.ebuild renamed to dev-python/dateparser/dateparser-1.1.7-r1.ebuild

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2023 Gentoo Authors
1+
# Copyright 1999-2024 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
@@ -17,18 +17,13 @@ RESTRICT="!test? ( test )"
1717

1818
DOCS="README.rst"
1919

20-
RDEPEND="dev-python/python-dateutil
21-
dev-python/pytz
22-
dev-python/regex
23-
dev-python/tzlocal"
20+
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
21+
dev-python/pytz[${PYTHON_USEDEP}]
22+
dev-python/regex[${PYTHON_USEDEP}]
23+
dev-python/tzlocal[${PYTHON_USEDEP}]"
2424
BDEPEND="
2525
test? (
26-
dev-python/pytest[${PYTHON_USEDEP}]
2726
dev-python/pytest-cov[${PYTHON_USEDEP}]
2827
)"
2928

30-
python_test() {
31-
py.test -v -v || die
32-
}
33-
3429
distutils_enable_tests pytest
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
DISTUTILS_USE_PEP517=setuptools
6+
PYTHON_COMPAT=( python3_{10..12} )
7+
inherit distutils-r1 pypi
8+
9+
DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
10+
HOMEPAGE="https://github.com/scrapinghub/dateparser https://pypi.org/project/dateparser/"
11+
12+
LICENSE="BSD"
13+
SLOT="0"
14+
KEYWORDS="amd64 arm arm64 x86"
15+
IUSE="test"
16+
RESTRICT="!test? ( test )"
17+
18+
DOCS="README.rst"
19+
20+
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
21+
dev-python/pytz[${PYTHON_USEDEP}]
22+
dev-python/regex[${PYTHON_USEDEP}]
23+
dev-python/tzlocal[${PYTHON_USEDEP}]"
24+
BDEPEND="
25+
test? (
26+
dev-python/pytest-cov[${PYTHON_USEDEP}]
27+
)"
28+
29+
distutils_enable_tests pytest

0 commit comments

Comments
 (0)