dev-python/dateparser: new package, add 1.2.0, 9999
Dependency for Komikku. The tests are broken, so I ignored those.
This commit is contained in:
parent
4d9b6ca470
commit
b2ca724bab
1
dev-python/dateparser/Manifest
Normal file
1
dev-python/dateparser/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST dateparser-1.2.0.gh.tar.gz 507104 BLAKE2B 4bd8246466de29b27187a0694e20e8437f0559c5e15a31d8cae76dcb24794a86f4bb6ce91ead015cb606c6477762949e3ab2fea56685db4db0ef5fb62aace4da SHA512 2d37115f25c2076c4521b77b89ef1cff3cd0a5233c45beb00d78a5c9b1a384dcd993ff7cdd1f77db95a53ce566cf7d709d46ffa2e63eb468ac954fda178a5b6e
|
33
dev-python/dateparser/dateparser-1.2.0.ebuild
Normal file
33
dev-python/dateparser/dateparser-1.2.0.ebuild
Normal file
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2023 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
|
||||
|
||||
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="Date parsing library"
|
||||
HOMEPAGE="https://dateparser.readthedocs.io/en/latest/"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND=""
|
33
dev-python/dateparser/dateparser-9999.ebuild
Normal file
33
dev-python/dateparser/dateparser-9999.ebuild
Normal file
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2023 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
|
||||
|
||||
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="Date parsing library"
|
||||
HOMEPAGE="https://dateparser.readthedocs.io/en/latest/"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND=""
|
12
dev-python/dateparser/metadata.xml
Normal file
12
dev-python/dateparser/metadata.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user