[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2024-07-26 Thread David Roman
commit: 12156d6368d394c41d9a469dd5a2084af9093b44
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Jul 25 14:15:29 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Jul 26 10:11:46 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12156d63

dev-python/dateparser: enable py3.13

Signed-off-by: Takuya Wakazono  gmail.com>

 dev-python/dateparser/dateparser-1.2.0.ebuild | 2 +-
 dev-python/dateparser/metadata.xml| 5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/dateparser/dateparser-1.2.0.ebuild 
b/dev-python/dateparser/dateparser-1.2.0.ebuild
index 45704719e..8697814c4 100644
--- a/dev-python/dateparser/dateparser-1.2.0.ebuild
+++ b/dev-python/dateparser/dateparser-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1 optfeature pypi
 

diff --git a/dev-python/dateparser/metadata.xml 
b/dev-python/dateparser/metadata.xml
index 694c8de0e..670472c82 100644
--- a/dev-python/dateparser/metadata.xml
+++ b/dev-python/dateparser/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   pastalia...@gmail.com
+   Takuya Wakazono
+   

scrapinghub/dateparser
dateparser



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2024-01-26 Thread David Roman
commit: ed25991dea137ca16f3ed3cb98f833eaf71e57ca
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Jan 25 13:39:41 2024 +
Commit: David Roman  gmail  com>
CommitDate: Thu Jan 25 13:46:20 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed25991d

dev-python/dateparser: drop 1.1.7, 1.1.8

Signed-off-by: Takuya Wakazono  gmail.com>

 dev-python/dateparser/Manifest|  2 -
 dev-python/dateparser/dateparser-1.1.7.ebuild | 53 
 dev-python/dateparser/dateparser-1.1.8.ebuild | 58 ---
 3 files changed, 113 deletions(-)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index 55dd072a80..44c8fffea2 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1,3 +1 @@
-DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 
11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70
 SHA512 
d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907
-DIST dateparser-1.1.8.tar.gz 296595 BLAKE2B 
0e1bedbfc0b54d3a763a5f982774685e0c4aebe418dcfe5190c613a6de1e8d445c9906b9c7e8ca87ea37b2ef508eb8bd789e07b7b5f11fac3df7d16f24a08c00
 SHA512 
45fc6ee67be77ae9ece818b25e680a9416c30bbe8d71746a2b08910b57406d65e6b9f0c51ada1697034ea1f3f9a0952c2f0616c9fa1be4c7886e459e1cc2d898
 DIST dateparser-1.2.0.tar.gz 307260 BLAKE2B 
b4611dfc4fccaf5f129e4d9aa3debe4a6d4242a44896305b909e6c34728ba153be92659b2f0c3a5da028d3863789d9c3a4236676087346b5f3f4aeb1f57b7a1e
 SHA512 
74d5975f515dee096d83d10b72e5dc66ab197d50f24c129560ffb87eef4abd1422d8236555496d1ab1c0bfb832729e9c0d3ea2ca2c9c49da19963f0f2c1c1eb4

diff --git a/dev-python/dateparser/dateparser-1.1.7.ebuild 
b/dev-python/dateparser/dateparser-1.1.7.ebuild
deleted file mode 100644
index 744f0b6ad5..00
--- a/dev-python/dateparser/dateparser-1.1.7.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
-HOMEPAGE="
-   https://pypi.org/project/dateparser/
-   https://github.com/scrapinghub/dateparser
-"
-
-LICENSE="BSD-4"
-SLOT="0"
-KEYWORDS="~amd64"
-
-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-libs/fastText[python,${PYTHON_USEDEP}]
-   dev-python/convertdate[${PYTHON_USEDEP}]
-   dev-python/hijri-converter[${PYTHON_USEDEP}]
-   dev-python/langdetect[${PYTHON_USEDEP}]
-   dev-python/parameterized[${PYTHON_USEDEP}]
-)"
-
-EPYTEST_IGNORE=(
-   # tests that require network
-   tests/test_dateparser_data_integrity.py
-)
-
-EPYTEST_DESELECT=(
-   # tests that require network
-   
tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1}
-)
-
-distutils_enable_tests pytest
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-rtd-theme
-
-pkg_postinst() {
-   optfeature "calendars support" "dev-python/hijri-converter 
dev-python/convertdate"
-   optfeature "fasttext support" "dev-libs/fastText[python]"
-   optfeature "langdetect support" dev-python/langdetect
-}

diff --git a/dev-python/dateparser/dateparser-1.1.8.ebuild 
b/dev-python/dateparser/dateparser-1.1.8.ebuild
deleted file mode 100644
index 5133e74d74..00
--- a/dev-python/dateparser/dateparser-1.1.8.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
-HOMEPAGE="
-   https://pypi.org/project/dateparser/
-   https://github.com/scrapinghub/dateparser
-"
-
-LICENSE="BSD-4"
-SLOT="0"
-KEYWORDS="~amd64"
-
-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-libs/fastText[python,${PYTHON_USEDEP}]
-   dev-python/convertdate[${PYTHON_USEDEP}]
-   dev-python/hijri-converter[${PYTHON_USEDEP}]
-   dev-python/langdetect[${PYTHON_USEDEP}]
-   dev-python/parameterized[${PYTHON_USEDEP}]
-)"
-
-EPYTEST_IGNORE=(
-   # tests that require network
-   tests/test_dateparser_data_integrity.py
-)
-
-EPYTEST_DESELECT=(
-   # tests that require network
-   
tests/test_language_detect.py::CustomLangDetectParserTest::test_cus

[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/, dev-python/dateparser/files/

2024-01-26 Thread David Roman
commit: 8644456eaedb3af538fa2ef369d1889c958dbe15
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Jan 25 13:39:11 2024 +
Commit: David Roman  gmail  com>
CommitDate: Thu Jan 25 13:46:19 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8644456e

dev-python/dateparser: add 1.2.0

Signed-off-by: Takuya Wakazono  gmail.com>

 dev-python/dateparser/Manifest |  1 +
 dev-python/dateparser/dateparser-1.2.0.ebuild  | 55 +
 .../files/dateparser-1.2.0-migrate-hijridate.patch | 71 ++
 3 files changed, 127 insertions(+)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index 1425c2c3c3..55dd072a80 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1,2 +1,3 @@
 DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 
11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70
 SHA512 
d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907
 DIST dateparser-1.1.8.tar.gz 296595 BLAKE2B 
0e1bedbfc0b54d3a763a5f982774685e0c4aebe418dcfe5190c613a6de1e8d445c9906b9c7e8ca87ea37b2ef508eb8bd789e07b7b5f11fac3df7d16f24a08c00
 SHA512 
45fc6ee67be77ae9ece818b25e680a9416c30bbe8d71746a2b08910b57406d65e6b9f0c51ada1697034ea1f3f9a0952c2f0616c9fa1be4c7886e459e1cc2d898
+DIST dateparser-1.2.0.tar.gz 307260 BLAKE2B 
b4611dfc4fccaf5f129e4d9aa3debe4a6d4242a44896305b909e6c34728ba153be92659b2f0c3a5da028d3863789d9c3a4236676087346b5f3f4aeb1f57b7a1e
 SHA512 
74d5975f515dee096d83d10b72e5dc66ab197d50f24c129560ffb87eef4abd1422d8236555496d1ab1c0bfb832729e9c0d3ea2ca2c9c49da19963f0f2c1c1eb4

diff --git a/dev-python/dateparser/dateparser-1.2.0.ebuild 
b/dev-python/dateparser/dateparser-1.2.0.ebuild
new file mode 100644
index 00..45704719e0
--- /dev/null
+++ b/dev-python/dateparser/dateparser-1.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
+HOMEPAGE="
+   https://pypi.org/project/dateparser/
+   https://github.com/scrapinghub/dateparser
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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-libs/fastText[python,${PYTHON_USEDEP}]
+   dev-python/convertdate[${PYTHON_USEDEP}]
+   dev-python/hijridate[${PYTHON_USEDEP}]
+   dev-python/langdetect[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+)"
+
+PATCHES=( "${FILESDIR}/${P}-migrate-hijridate.patch" )
+
+EPYTEST_IGNORE=(
+   # tests that require network
+   tests/test_dateparser_data_integrity.py
+)
+
+EPYTEST_DESELECT=(
+   # tests that require network
+   
tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1}
+)
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-rtd-theme
+
+pkg_postinst() {
+   optfeature "calendars support" "dev-python/hijridate 
dev-python/convertdate"
+   optfeature "fasttext support" "dev-libs/fastText[python]"
+   optfeature "langdetect support" dev-python/langdetect
+}

diff --git 
a/dev-python/dateparser/files/dateparser-1.2.0-migrate-hijridate.patch 
b/dev-python/dateparser/files/dateparser-1.2.0-migrate-hijridate.patch
new file mode 100644
index 00..3d488ca53b
--- /dev/null
+++ b/dev-python/dateparser/files/dateparser-1.2.0-migrate-hijridate.patch
@@ -0,0 +1,71 @@
+https://github.com/scrapinghub/dateparser/pull/1211
+From: pastalian 
+Date: Thu, 25 Jan 2024 21:14:28 +0900
+Subject: [PATCH] Migrate from hijri-converter to hijridate
+
+--- a/dateparser/calendars/hijri_parser.py
 b/dateparser/calendars/hijri_parser.py
+@@ -1,4 +1,4 @@
+-from hijri_converter import convert
++from hijridate import Gregorian, Hijri
+ 
+ from dateparser.calendars import non_gregorian_parser
+ 
+@@ -6,19 +6,17 @@
+ class hijri:
+ @classmethod
+ def to_gregorian(cls, year=None, month=None, day=None):
+-g = convert.Hijri(
+-year=year, month=month, day=day, validate=False
+-).to_gregorian()
++g = Hijri(year=year, month=month, day=day, 
validate=False).to_gregorian()
+ return g.datetuple()
+ 
+ @classmethod
+ def from_gregorian(cls, year=None, month=None, day=None):
+-h = convert.Gregorian(year, month, day).to_hijri()
++h = Gregorian(year, month, day).to_hijri()
+ return h.datetuple()
+ 
+ @classmethod
+ def month_length(cls, year, month):
+-h

[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2023-03-24 Thread Florian Schmaus
commit: 23656218b93272f6c773203450a44ed764a650d2
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Mar 23 20:07:31 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Mar 24 11:03:12 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23656218

dev-python/dateparser: add 1.1.8, drop 1.1.6

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/dateparser/Manifest  |  2 +-
 .../{dateparser-1.1.6.ebuild => dateparser-1.1.8.ebuild}| 13 ++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index 17dcfcb6d..1425c2c3c 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1,2 +1,2 @@
-DIST dateparser-1.1.6.tar.gz 295659 BLAKE2B 
fbdb31ecbe48ef3b27eb283fe590b49a03ebbcca9402846e1f18f70052d5339fbfd5bc3f92dd6b4888e185ccd3ccf538e845dff320c2fa16a3cd560aba7faa87
 SHA512 
5f9eb6c85bb221a61ab30b274a73572e199e930298c30b438bec12511c677c272d9a778458b99f291eb8636ee1d797b90260fef66ae6c480018eca80b23b162a
 DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 
11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70
 SHA512 
d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907
+DIST dateparser-1.1.8.tar.gz 296595 BLAKE2B 
0e1bedbfc0b54d3a763a5f982774685e0c4aebe418dcfe5190c613a6de1e8d445c9906b9c7e8ca87ea37b2ef508eb8bd789e07b7b5f11fac3df7d16f24a08c00
 SHA512 
45fc6ee67be77ae9ece818b25e680a9416c30bbe8d71746a2b08910b57406d65e6b9f0c51ada1697034ea1f3f9a0952c2f0616c9fa1be4c7886e459e1cc2d898

diff --git a/dev-python/dateparser/dateparser-1.1.6.ebuild 
b/dev-python/dateparser/dateparser-1.1.8.ebuild
similarity index 73%
rename from dev-python/dateparser/dateparser-1.1.6.ebuild
rename to dev-python/dateparser/dateparser-1.1.8.ebuild
index ca3c76136..28056e464 100644
--- a/dev-python/dateparser/dateparser-1.1.6.ebuild
+++ b/dev-python/dateparser/dateparser-1.1.8.ebuild
@@ -5,11 +5,13 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 optfeature
+inherit distutils-r1 optfeature pypi
 
 DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
-HOMEPAGE="https://github.com/scrapinghub/dateparser";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="
+   https://pypi.org/project/dateparser/
+   https://github.com/scrapinghub/dateparser
+"
 
 LICENSE="BSD-4"
 SLOT="0"
@@ -37,6 +39,11 @@ EPYTEST_IGNORE=(
 EPYTEST_DESELECT=(
# tests that require network

tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1}
+   # broken
+   
tests/test_search.py::TestTranslateSearch::test_relative_base_setting_1_en
+   
tests/test_search.py::TestTranslateSearch::test_splitting_of_not_parsed_1_en
+   
tests/test_search.py::TestTranslateSearch::test_splitting_of_not_parsed_5_en
+   
tests/test_search.py::TestTranslateSearch::test_splitting_of_not_parsed_6_sv
 )
 
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2023-01-14 Thread Andrew Ammerlaan
commit: 5f250c1bfef149141936ded06f2ab934ffa65ffa
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Jan 13 09:30:45 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Jan 13 10:46:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f250c1b

dev-python/dateparser: add 1.1.6, drop 1.1.4

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/dateparser/Manifest  | 2 +-
 .../dateparser/{dateparser-1.1.4.ebuild => dateparser-1.1.6.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index a6b4c400d..381b32fe8 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1,2 +1,2 @@
-DIST dateparser-1.1.4.tar.gz 294406 BLAKE2B 
5e13a76f1a11dfdb322494a06f288b404149f22481beaf991b0256874aaabb65120fb3e217da5f18d3152cd1786354e2dc8a237591821458be27d5cbac6beac0
 SHA512 
a20f821dea1ec8e6eb7033de91b1e74777607c4b31286a87e06d85c7278dad3c164ddc88640e0372d9f32eed72a40e28c58bea26a77fdc01c59d2d9fc70bb2d7
 DIST dateparser-1.1.5.tar.gz 295364 BLAKE2B 
ab34dc41a3602df7b4cf448f4fd0be410b514e5e02d252f911019be1ac6092fc1ac1ddf58ed6ae349958691f67817974bda95e7266d82127a1beebfbf28100fa
 SHA512 
0a2ea4a8a4b580ed8f0939b3bc7175fa40bc37df1469711ce2b802bc24a8b45484f8c5f6b9297a8343c1fbe281892e6521b19c35468305d8ba7e584e444a7bf2
+DIST dateparser-1.1.6.tar.gz 295659 BLAKE2B 
fbdb31ecbe48ef3b27eb283fe590b49a03ebbcca9402846e1f18f70052d5339fbfd5bc3f92dd6b4888e185ccd3ccf538e845dff320c2fa16a3cd560aba7faa87
 SHA512 
5f9eb6c85bb221a61ab30b274a73572e199e930298c30b438bec12511c677c272d9a778458b99f291eb8636ee1d797b90260fef66ae6c480018eca80b23b162a

diff --git a/dev-python/dateparser/dateparser-1.1.4.ebuild 
b/dev-python/dateparser/dateparser-1.1.6.ebuild
similarity index 97%
rename from dev-python/dateparser/dateparser-1.1.4.ebuild
rename to dev-python/dateparser/dateparser-1.1.6.ebuild
index d73cda687..302f5a91a 100644
--- a/dev-python/dateparser/dateparser-1.1.4.ebuild
+++ b/dev-python/dateparser/dateparser-1.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2023-01-01 Thread Florian Schmaus
commit: a2865ad8e42855712a38f168bc8b9df1d620802d
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sun Jan  1 00:11:44 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Jan  1 00:19:15 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2865ad8

dev-python/dateparser: add 1.1.5

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/dateparser/Manifest|  1 +
 dev-python/dateparser/dateparser-1.1.5.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index bb72cce7d..a6b4c400d 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1 +1,2 @@
 DIST dateparser-1.1.4.tar.gz 294406 BLAKE2B 
5e13a76f1a11dfdb322494a06f288b404149f22481beaf991b0256874aaabb65120fb3e217da5f18d3152cd1786354e2dc8a237591821458be27d5cbac6beac0
 SHA512 
a20f821dea1ec8e6eb7033de91b1e74777607c4b31286a87e06d85c7278dad3c164ddc88640e0372d9f32eed72a40e28c58bea26a77fdc01c59d2d9fc70bb2d7
+DIST dateparser-1.1.5.tar.gz 295364 BLAKE2B 
ab34dc41a3602df7b4cf448f4fd0be410b514e5e02d252f911019be1ac6092fc1ac1ddf58ed6ae349958691f67817974bda95e7266d82127a1beebfbf28100fa
 SHA512 
0a2ea4a8a4b580ed8f0939b3bc7175fa40bc37df1469711ce2b802bc24a8b45484f8c5f6b9297a8343c1fbe281892e6521b19c35468305d8ba7e584e444a7bf2

diff --git a/dev-python/dateparser/dateparser-1.1.5.ebuild 
b/dev-python/dateparser/dateparser-1.1.5.ebuild
new file mode 100644
index 0..302f5a91a
--- /dev/null
+++ b/dev-python/dateparser/dateparser-1.1.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
+HOMEPAGE="https://github.com/scrapinghub/dateparser";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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-libs/fastText[python,${PYTHON_USEDEP}]
+   dev-python/convertdate[${PYTHON_USEDEP}]
+   dev-python/hijri-converter[${PYTHON_USEDEP}]
+   dev-python/langdetect[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+)"
+
+EPYTEST_IGNORE=(
+   # tests that require network
+   tests/test_dateparser_data_integrity.py
+)
+
+EPYTEST_DESELECT=(
+   # tests that require network
+   
tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1}
+)
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme
+
+pkg_postinst() {
+   optfeature "calendars support" "dev-python/hijri-converter 
dev-python/convertdate"
+   optfeature "fasttext support" "dev-libs/fastText[python]"
+   optfeature "langdetect support" dev-python/langdetect
+}



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/, profiles/

2022-07-03 Thread Andrew Ammerlaan
commit: 44092610ac22112c812bd6dafc748a0fe99a3c2c
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jul  3 11:53:30 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jul  3 11:53:30 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44092610

dev-python/dateparser: treeclean

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/dateparser/Manifest|  2 --
 dev-python/dateparser/dateparser-1.1.0.ebuild | 38 
 dev-python/dateparser/dateparser-1.1.1.ebuild | 51 ---
 dev-python/dateparser/metadata.xml| 12 ---
 profiles/package.mask |  4 ---
 5 files changed, 107 deletions(-)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
deleted file mode 100644
index e71ed270e..0
--- a/dev-python/dateparser/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST dateparser-1.1.0.tar.gz 483853 BLAKE2B 
d754bef57b7a062063fe35480d5c5b8cfdd8144b32d4b0c92c949e31b1bfb7bb388e5eff68981dd20a3bd51328dd48f1f650477efa80b5004337b2ab3fdb53d3
 SHA512 
019fa8fcc00ba298d38d166fb17bca3cb3ea34934cc59d05d7e47924a4caf1a640a628ee29552b72fc53e7a005109ec227c3a09c52e46d1094565db0a6daed2a
-DIST dateparser-1.1.1.tar.gz 484365 BLAKE2B 
c4044a4b00370439eee452ee90503c0fef7f7462c4a5de028af911ee312fb672dff139303fe1b8231fd737408ebf5bf46e3655dfa9b0819d740374574af70cdf
 SHA512 
184307023306bc91c80c70a7cabb64bab8589b0e45db719c7f65f7edaad910daa76e5f3c46faf5591db15b170c0d72a0f84ea4b2ad5009fd89adba596beacfba

diff --git a/dev-python/dateparser/dateparser-1.1.0.ebuild 
b/dev-python/dateparser/dateparser-1.1.0.ebuild
deleted file mode 100644
index 7d4561c3a..0
--- a/dev-python/dateparser/dateparser-1.1.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
-HOMEPAGE="https://github.com/scrapinghub/dateparser";
-SRC_URI="https://github.com/scrapinghub/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD-4"
-SLOT="0"
-KEYWORDS="~amd64"
-
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND="
-   dev-python/convertdate[${PYTHON_USEDEP}]
-   dev-python/hijri-converter[${PYTHON_USEDEP}]
-   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/ruamel-yaml[${PYTHON_USEDEP}]
-   dev-python/parameterized[${PYTHON_USEDEP}]
-   dev-python/GitPython[${PYTHON_USEDEP}]
-   dev-python/ordered-set[${PYTHON_USEDEP}]
-)"
-
-distutils_enable_tests pytest
-
-distutils_enable_sphinx docs

diff --git a/dev-python/dateparser/dateparser-1.1.1.ebuild 
b/dev-python/dateparser/dateparser-1.1.1.ebuild
deleted file mode 100644
index c0d358612..0
--- a/dev-python/dateparser/dateparser-1.1.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
-HOMEPAGE="https://github.com/scrapinghub/dateparser";
-SRC_URI="https://github.com/scrapinghub/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD-4"
-SLOT="0"
-KEYWORDS="~amd64"
-
-PROPERTIES="test_network"
-RESTRICT="test"
-
-RDEPEND="
-   dev-python/convertdate[${PYTHON_USEDEP}]
-   dev-python/hijri-converter[${PYTHON_USEDEP}]
-   dev-python/python-dateutil[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   cyber+gen...@sysrq.in
-   Anna
-   
-   
-   scrapinghub/dateparser
-   dateparser
-   
-

diff --git a/profiles/package.mask b/profiles/package.mask
index a57f9f14e..9620358bf 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -72,10 +72,6 @@ dev-embedded/esp-idf
 # Depends on masked dev-libs/openssl-3.0.*
 app-crypt/tpm2-openssl
 
-# Andrew Ammerlaan  (2022-04-14)
-# Depends on unavailable dev-python/regex-2022.3.15
-dev-python/dateparser
-
 # Yuan Liao  (2022-02-20)
 # Depends on net-libs/libsoup:3.0, which is masked in ::gentoo.
 # Masked until all dependencies are unmasked.



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2021-12-08 Thread Andrew Ammerlaan
commit: 3e6f355ac4531905e5049eb1e0fcd0149010c652
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Dec  7 20:41:43 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec  7 20:42:10 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e6f355a

dev-python/dateparser: drop to maintainer-needed

Signed-off-by: Maciej Barć  gentoo.org>

 dev-python/dateparser/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/dateparser/metadata.xml 
b/dev-python/dateparser/metadata.xml
index c1c9c1d66..4cb8289af 100644
--- a/dev-python/dateparser/metadata.xml
+++ b/dev-python/dateparser/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-x...@riseup.net
-Maciej Barć
-  
+  
   
 scrapinghub/dateparser
 dateparser



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2021-06-04 Thread Andrew Ammerlaan
commit: a0dd2d9099013f25fac100b3e52a588ae652dd95
Author: Maciej Barć  riseup  net>
AuthorDate: Thu Jun  3 17:36:29 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jun  3 17:36:29 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0dd2d90

dev-python/dateparser: drop py3.7 compat

Signed-off-by: Maciej Barć  riseup.net>

 dev-python/dateparser/dateparser-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/dateparser/dateparser-1.0.0.ebuild 
b/dev-python/dateparser/dateparser-1.0.0.ebuild
index 062a65b09..ff29e35b4 100644
--- a/dev-python/dateparser/dateparser-1.0.0.ebuild
+++ b/dev-python/dateparser/dateparser-1.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8,9} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2021-02-19 Thread Andrew Ammerlaan
commit: 0e08db080a4fd4f045c92b8fe929bd06beb3736b
Author: Maciej Barć  protonmail  com>
AuthorDate: Fri Feb 19 04:31:48 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Feb 19 04:31:48 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e08db08

dev-python/dateparser: bump python compat to 3.9

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć  protonmail.com>

 dev-python/dateparser/dateparser-1.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/dateparser/dateparser-1.0.0.ebuild 
b/dev-python/dateparser/dateparser-1.0.0.ebuild
index f279b5c9..062a65b0 100644
--- a/dev-python/dateparser/dateparser-1.0.0.ebuild
+++ b/dev-python/dateparser/dateparser-1.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2020-09-28 Thread Andrew Ammerlaan
commit: e86799f24396129396e8bb130c3672d0c080b2c3
Author: Maciej Barć  protonmail  com>
AuthorDate: Sun Sep 27 04:01:20 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Sep 27 04:01:20 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e86799f2

dev-python/dateparser: add python3_8 impl compat

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Barć  protonmail.com>

 dev-python/dateparser/dateparser-0.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/dateparser/dateparser-0.7.4.ebuild 
b/dev-python/dateparser/dateparser-0.7.4.ebuild
index 771d97c4..7f1b4a13 100644
--- a/dev-python/dateparser/dateparser-0.7.4.ebuild
+++ b/dev-python/dateparser/dateparser-0.7.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:master commit in: dev-python/dateparser/

2020-05-03 Thread Andrew Ammerlaan
commit: 6ec75aa84295155dd2c1278e4f9737ab2ec3f325
Author: Maciej Barć  protonmail  com>
AuthorDate: Sat May  2 16:41:54 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat May  2 16:41:54 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ec75aa8

dev-python/dateparser: new package; add version 0.7.4

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Maciej Barć  protonmail.com>

 dev-python/dateparser/Manifest|  1 +
 dev-python/dateparser/dateparser-0.7.4.ebuild | 38 +++
 dev-python/dateparser/metadata.xml| 12 +
 3 files changed, 51 insertions(+)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
new file mode 100644
index 000..a5169f9
--- /dev/null
+++ b/dev-python/dateparser/Manifest
@@ -0,0 +1 @@
+DIST dateparser-0.7.4.tar.gz 312033 BLAKE2B 
e1cd42f8cea630d31cd65f4663a4b4758cc6de5aeb84dd36a442e286dcb5fd9217bd02da86336e979bc3f1cfe53c2062bfcbc386145d105193e23da432012924
 SHA512 
304878c55eeffdbd326579eb3c0eb68b65422147d75366b686f332ac853f8042af7f4a7ed7c9ae3fe35b5a991691367d600ddaeea1b991f5dccfc509e79a

diff --git a/dev-python/dateparser/dateparser-0.7.4.ebuild 
b/dev-python/dateparser/dateparser-0.7.4.ebuild
new file mode 100644
index 000..5dbac12
--- /dev/null
+++ b/dev-python/dateparser/dateparser-0.7.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Date parsing library designed to parse dates from HTML pages"
+HOMEPAGE="https://github.com/scrapinghub/dateparser";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? (
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/flake8[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   dev-python/convertdate[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   dev-python/regex[${PYTHON_USEDEP}]
+   dev-python/tzlocal[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests setup.py

diff --git a/dev-python/dateparser/metadata.xml 
b/dev-python/dateparser/metadata.xml
new file mode 100644
index 000..0189508
--- /dev/null
+++ b/dev-python/dateparser/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+x...@protonmail.com
+Maciej Barć
+  
+  
+scrapinghub/dateparser
+dateparser
+  
+