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

2024-01-25 Thread Takuya Wakazono
commit: ed25991dea137ca16f3ed3cb98f833eaf71e57ca
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Jan 25 13:39:41 2024 +
Commit: Takuya Wakazono  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
-   

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

2024-01-25 Thread Takuya Wakazono
commit: 8644456eaedb3af538fa2ef369d1889c958dbe15
Author: Takuya Wakazono  gmail  com>
AuthorDate: Thu Jan 25 13:39:11 2024 +
Commit: Takuya Wakazono  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):
+- 

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

2023-03-24 Thread Anna Vyalkova
commit: 23656218b93272f6c773203450a44ed764a650d2
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Mar 23 20:07:31 2023 +
Commit: Anna Vyalkova  sysrq  in>
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:dev commit in: dev-python/dateparser/

2023-02-25 Thread Anna Vyalkova
commit: 7d82eae5ed01fce47790d071efb01a475707bfbe
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Feb 25 22:53:23 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Sat Feb 25 22:53:23 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d82eae5

dev-python/dateparser: add 1.1.7, drop 1.1.5

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

 dev-python/dateparser/Manifest |  2 +-
 .../{dateparser-1.1.5.ebuild => dateparser-1.1.7.ebuild}   | 10 ++
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index 381b32fe8..17dcfcb6d 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1,2 +1,2 @@
-DIST dateparser-1.1.5.tar.gz 295364 BLAKE2B 
ab34dc41a3602df7b4cf448f4fd0be410b514e5e02d252f911019be1ac6092fc1ac1ddf58ed6ae349958691f67817974bda95e7266d82127a1beebfbf28100fa
 SHA512 
0a2ea4a8a4b580ed8f0939b3bc7175fa40bc37df1469711ce2b802bc24a8b45484f8c5f6b9297a8343c1fbe281892e6521b19c35468305d8ba7e584e444a7bf2
 DIST dateparser-1.1.6.tar.gz 295659 BLAKE2B 
fbdb31ecbe48ef3b27eb283fe590b49a03ebbcca9402846e1f18f70052d5339fbfd5bc3f92dd6b4888e185ccd3ccf538e845dff320c2fa16a3cd560aba7faa87
 SHA512 
5f9eb6c85bb221a61ab30b274a73572e199e930298c30b438bec12511c677c272d9a778458b99f291eb8636ee1d797b90260fef66ae6c480018eca80b23b162a
+DIST dateparser-1.1.7.tar.gz 295818 BLAKE2B 
11bb07f6c3c46a5e19111715a8801b8789d7f1fd0fd407232a071ddd40b337153dce3b42197f3a2fd8081c505f4418abb3ff265e25641a95eed31575c6ad2a70
 SHA512 
d333fa2007c069f7424def9694544767a8885eec5d476e9dd73605754fd53f5a9dbbeb19f24291ac6c6ffa09b4014a3135ad8fbabadae1655c78a8d5fe36f907

diff --git a/dev-python/dateparser/dateparser-1.1.5.ebuild 
b/dev-python/dateparser/dateparser-1.1.7.ebuild
similarity index 87%
rename from dev-python/dateparser/dateparser-1.1.5.ebuild
rename to dev-python/dateparser/dateparser-1.1.7.ebuild
index 95d4ab91a..475fd531e 100644
--- a/dev-python/dateparser/dateparser-1.1.5.ebuild
+++ b/dev-python/dateparser/dateparser-1.1.7.ebuild
@@ -3,13 +3,15 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..11} )
+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"



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

2023-01-13 Thread Anna Vyalkova
commit: 5f250c1bfef149141936ded06f2ab934ffa65ffa
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Jan 13 09:30:45 2023 +
Commit: Anna Vyalkova  sysrq  in>
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:dev commit in: dev-python/dateparser/

2022-12-31 Thread Anna Vyalkova
commit: a2865ad8e42855712a38f168bc8b9df1d620802d
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sun Jan  1 00:11:44 2023 +
Commit: Anna Vyalkova  sysrq  in>
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:dev commit in: dev-python/dateparser/

2022-11-22 Thread Anna Vyalkova
commit: ad94204ebe08515a217b28160d3bbcc314ef2b3d
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Nov 22 22:46:11 2022 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Tue Nov 22 22:46:11 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad94204e

dev-python/dateparser: rephrase a comment

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

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

diff --git a/dev-python/dateparser/dateparser-1.1.4.ebuild 
b/dev-python/dateparser/dateparser-1.1.4.ebuild
index 7e8fdc2c1..d73cda687 100644
--- a/dev-python/dateparser/dateparser-1.1.4.ebuild
+++ b/dev-python/dateparser/dateparser-1.1.4.ebuild
@@ -30,7 +30,7 @@ BDEPEND="test? (
 )"
 
 EPYTEST_IGNORE=(
-   # GitPython fails to allocate memory
+   # tests that require network
tests/test_dateparser_data_integrity.py
 )
 



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

2022-11-21 Thread Anna Vyalkova
commit: bd6dea52d1c3ea36be563eae4ceac84349a5b420
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Tue Nov 22 06:50:33 2022 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Tue Nov 22 06:50:33 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd6dea52

dev-python/dateparser: new package, add 1.1.4

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

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

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
new file mode 100644
index 0..bb72cce7d
--- /dev/null
+++ b/dev-python/dateparser/Manifest
@@ -0,0 +1 @@
+DIST dateparser-1.1.4.tar.gz 294406 BLAKE2B 
5e13a76f1a11dfdb322494a06f288b404149f22481beaf991b0256874aaabb65120fb3e217da5f18d3152cd1786354e2dc8a237591821458be27d5cbac6beac0
 SHA512 
a20f821dea1ec8e6eb7033de91b1e74777607c4b31286a87e06d85c7278dad3c164ddc88640e0372d9f32eed72a40e28c58bea26a77fdc01c59d2d9fc70bb2d7

diff --git a/dev-python/dateparser/dateparser-1.1.4.ebuild 
b/dev-python/dateparser/dateparser-1.1.4.ebuild
new file mode 100644
index 0..7e8fdc2c1
--- /dev/null
+++ b/dev-python/dateparser/dateparser-1.1.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 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=(
+   # GitPython fails to allocate memory
+   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/metadata.xml 
b/dev-python/dateparser/metadata.xml
new file mode 100644
index 0..69d0caa11
--- /dev/null
+++ b/dev-python/dateparser/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cyber+gen...@sysrq.in
+   Anna
+   
+   
+   scrapinghub/dateparser
+   dateparser
+   
+



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

2021-12-07 Thread Maciej Barć
commit: 3e6f355ac4531905e5049eb1e0fcd0149010c652
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Dec  7 20:41:43 2021 +
Commit: Maciej Barć  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:dev commit in: dev-python/dateparser/

2021-11-08 Thread Maciej Barć
commit: 80371c883dd142c2f91b03580ad5636378850022
Author: Maciej Barć  riseup  net>
AuthorDate: Mon Nov  8 22:19:57 2021 +
Commit: Maciej Barć  riseup  net>
CommitDate: Mon Nov  8 23:32:37 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80371c88

dev-python/dateparser: bump to 1.1.0

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć  riseup.net>

 dev-python/dateparser/Manifest|  1 +
 dev-python/dateparser/dateparser-1.1.0.ebuild | 38 +++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index f3166397e..c9b3c10f1 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1 +1,2 @@
 DIST dateparser-1.0.0.tar.gz 471943 BLAKE2B 
b248def372fb792dcd6c0bdc523217d0eea74a70c65fa4975953c42de8b6408a541d3031774fe75c464c3528e43179a9a9675005f88351a539ea72dd4d5f81b5
 SHA512 
4ce97038c53bc49bf9261f82bd3c093b48987f1a776f033594e16488faf75cb7b255cd89ca7f4d229b8d0ab8e41ba9ca525c58300bc6ee5222bf73411f3cff53
+DIST dateparser-1.1.0.tar.gz 483853 BLAKE2B 
d754bef57b7a062063fe35480d5c5b8cfdd8144b32d4b0c92c949e31b1bfb7bb388e5eff68981dd20a3bd51328dd48f1f650477efa80b5004337b2ab3fdb53d3
 SHA512 
019fa8fcc00ba298d38d166fb17bca3cb3ea34934cc59d05d7e47924a4caf1a640a628ee29552b72fc53e7a005109ec227c3a09c52e46d1094565db0a6daed2a

diff --git a/dev-python/dateparser/dateparser-1.1.0.ebuild 
b/dev-python/dateparser/dateparser-1.1.0.ebuild
new file mode 100644
index 0..21d9b2178
--- /dev/null
+++ b/dev-python/dateparser/dateparser-1.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+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"
+
+# Requires access to the internet
+RESTRICT="test"
+
+DEPEND="test? (
+   dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+   dev-python/GitPython[${PYTHON_USEDEP}]
+   dev-python/ordered-set[${PYTHON_USEDEP}]
+)"
+
+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}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs



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

2021-06-03 Thread Maciej Barć
commit: a0dd2d9099013f25fac100b3e52a588ae652dd95
Author: Maciej Barć  riseup  net>
AuthorDate: Thu Jun  3 17:36:29 2021 +
Commit: Maciej Barć  riseup  net>
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:dev commit in: dev-python/dateparser/

2021-02-19 Thread Maciej Barć
commit: 0e08db080a4fd4f045c92b8fe929bd06beb3736b
Author: Maciej Barć  protonmail  com>
AuthorDate: Fri Feb 19 04:31:48 2021 +
Commit: Maciej Barć  protonmail  com>
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:dev commit in: dev-python/dateparser/

2020-12-18 Thread Andrew Ammerlaan
commit: d062529a73b3bd1e31be1049b51a1f4378260ee5
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Dec 18 16:11:29 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Dec 18 16:11:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d062529a

dev-python/dateparser: version bump 1.0.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/dateparser/Manifest |  2 +-
 ...parser-0.7.4.ebuild => dateparser-1.0.0.ebuild} | 22 +-
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
index a5169f90..f3166397 100644
--- a/dev-python/dateparser/Manifest
+++ b/dev-python/dateparser/Manifest
@@ -1 +1 @@
-DIST dateparser-0.7.4.tar.gz 312033 BLAKE2B 
e1cd42f8cea630d31cd65f4663a4b4758cc6de5aeb84dd36a442e286dcb5fd9217bd02da86336e979bc3f1cfe53c2062bfcbc386145d105193e23da432012924
 SHA512 
304878c55eeffdbd326579eb3c0eb68b65422147d75366b686f332ac853f8042af7f4a7ed7c9ae3fe35b5a991691367d600ddaeea1b991f5dccfc509e79a
+DIST dateparser-1.0.0.tar.gz 471943 BLAKE2B 
b248def372fb792dcd6c0bdc523217d0eea74a70c65fa4975953c42de8b6408a541d3031774fe75c464c3528e43179a9a9675005f88351a539ea72dd4d5f81b5
 SHA512 
4ce97038c53bc49bf9261f82bd3c093b48987f1a776f033594e16488faf75cb7b255cd89ca7f4d229b8d0ab8e41ba9ca525c58300bc6ee5222bf73411f3cff53

diff --git a/dev-python/dateparser/dateparser-0.7.4.ebuild 
b/dev-python/dateparser/dateparser-1.0.0.ebuild
similarity index 59%
rename from dev-python/dateparser/dateparser-0.7.4.ebuild
rename to dev-python/dateparser/dateparser-1.0.0.ebuild
index 7f1b4a13..f279b5c9 100644
--- a/dev-python/dateparser/dateparser-0.7.4.ebuild
+++ b/dev-python/dateparser/dateparser-1.0.0.ebuild
@@ -9,26 +9,30 @@ 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"
+SRC_URI="https://github.com/scrapinghub/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD-4"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/parameterized[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   )
-"
+# Requires access to the internet
+RESTRICT="test"
+
+DEPEND="test? (
+   dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+   dev-python/GitPython[${PYTHON_USEDEP}]
+   dev-python/ordered-set[${PYTHON_USEDEP}]
+)"
+
 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}]
 "
 
-distutils_enable_tests nose
+distutils_enable_tests pytest
 distutils_enable_sphinx docs



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

2020-09-27 Thread Maciej Barć
commit: e86799f24396129396e8bb130c3672d0c080b2c3
Author: Maciej Barć  protonmail  com>
AuthorDate: Sun Sep 27 04:01:20 2020 +
Commit: Maciej Barć  protonmail  com>
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:dev commit in: dev-python/dateparser/

2020-05-03 Thread Andrew Ammerlaan
commit: 967010914e3148788412e0673c2471197e1c1fd8
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun May  3 09:12:07 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun May  3 09:12:07 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96701091

dev-python/dateparser: enable doc building and fixup tests

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/dateparser/dateparser-0.7.4.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-python/dateparser/dateparser-0.7.4.ebuild 
b/dev-python/dateparser/dateparser-0.7.4.ebuild
index 5dbac12..88e4522 100644
--- a/dev-python/dateparser/dateparser-0.7.4.ebuild
+++ b/dev-python/dateparser/dateparser-0.7.4.ebuild
@@ -14,15 +14,10 @@ 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}]
)
@@ -35,4 +30,5 @@ RDEPEND="
dev-python/tzlocal[${PYTHON_USEDEP}]
 "
 
-distutils_enable_tests setup.py
+distutils_enable_tests nose
+distutils_enable_sphinx docs



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

2020-05-02 Thread Maciej Barć
commit: 6ec75aa84295155dd2c1278e4f9737ab2ec3f325
Author: Maciej Barć  protonmail  com>
AuthorDate: Sat May  2 16:41:54 2020 +
Commit: Maciej Barć  protonmail  com>
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
+  
+