1
0

dev-python/dateparser: new package, add 1.1.1, 9999

This commit is contained in:
Ryan Fox 2022-09-10 00:20:34 -07:00
parent 399dd22ae1
commit b1e7db60a9
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,4 @@
DIST dateparser-1.1.1.gh.tar.gz 484365 BLAKE2B c4044a4b00370439eee452ee90503c0fef7f7462c4a5de028af911ee312fb672dff139303fe1b8231fd737408ebf5bf46e3655dfa9b0819d740374574af70cdf SHA512 184307023306bc91c80c70a7cabb64bab8589b0e45db719c7f65f7edaad910daa76e5f3c46faf5591db15b170c0d72a0f84ea4b2ad5009fd89adba596beacfba
EBUILD dateparser-1.1.1.ebuild 756 BLAKE2B 70de16cad8b88c48ed71f51f20b387feab0b33907ee374f062703fc413f7c64e36596eb64646240323d6c10e1c93e6f8e60cd62d034e44fdf628fa812b5e018a SHA512 2411908ebcdd85b4b400d4bdcd2d8c1b53460d5252dd651f798a5a90cdc2dc497a097f8c831f7f31ec35ccd6e906e843fe7b4aae25af758836466f223131000e
EBUILD dateparser-9999.ebuild 756 BLAKE2B 70de16cad8b88c48ed71f51f20b387feab0b33907ee374f062703fc413f7c64e36596eb64646240323d6c10e1c93e6f8e60cd62d034e44fdf628fa812b5e018a SHA512 2411908ebcdd85b4b400d4bdcd2d8c1b53460d5252dd651f798a5a90cdc2dc497a097f8c831f7f31ec35ccd6e906e843fe7b4aae25af758836466f223131000e
MISC metadata.xml 377 BLAKE2B f0e167c06826ee4e117de7cbdc20a337297097126732fd64ce48f3cd78d8431f6e8b6a9df76ab7fac5b8beeff81867d45edfa53c7646ba730e0277505aec6491 SHA512 9038ab52791f6082c237e1929f80b63c82420c294263b97e3be9a52f7087c452345f2e70b7aafe2733b7c7c725f61b7ef6165fef846222970238b89f45cfa984

View File

@ -0,0 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/scrapinghub/dateparser.git"
else
SRC_URI="https://github.com/scrapinghub/dateparser/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="A date parser for scraping"
HOMEPAGE="https://dateparser.readthedocs.io/en/latest/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
"
BDEPEND=""

View File

@ -0,0 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/scrapinghub/dateparser.git"
else
SRC_URI="https://github.com/scrapinghub/dateparser/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="A date parser for scraping"
HOMEPAGE="https://dateparser.readthedocs.io/en/latest/"
LICENSE="BSD"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
"
BDEPEND=""

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">dateparser</remote-id>
<remote-id type="github">scrapinghub/dateparser</remote-id>
</upstream>
</pkgmetadata>