summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2022-06-14 22:01:12 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2022-06-14 22:11:11 +0100
commit0d93a3c4fa3c7d187ebf7c07ca286d0d54bf92a5 (patch)
treefac853322a3d828ab6aa2d4c2f81ab43d59234b5
parentsys-kernel/stable-sources: version bump (diff)
downloadportage-0d93a3c4fa3c7d187ebf7c07ca286d0d54bf92a5.tar.xz
dev-python/dateparser: Python parser for human readable dates
Package-Manager: Portage-3.0.30, Repoman-3.0.3
-rw-r--r--dev-python/dateparser/Manifest1
-rw-r--r--dev-python/dateparser/dateparser-1.1.1.ebuild21
-rw-r--r--dev-python/dateparser/metadata.xml8
3 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest
new file mode 100644
index 00000000..114131d5
--- /dev/null
+++ b/dev-python/dateparser/Manifest
@@ -0,0 +1 @@
+DIST dateparser-1.1.1.tar.gz 484365 BLAKE2B c4044a4b00370439eee452ee90503c0fef7f7462c4a5de028af911ee312fb672dff139303fe1b8231fd737408ebf5bf46e3655dfa9b0819d740374574af70cdf SHA512 184307023306bc91c80c70a7cabb64bab8589b0e45db719c7f65f7edaad910daa76e5f3c46faf5591db15b170c0d72a0f84ea4b2ad5009fd89adba596beacfba
diff --git a/dev-python/dateparser/dateparser-1.1.1.ebuild b/dev-python/dateparser/dateparser-1.1.1.ebuild
new file mode 100644
index 00000000..4088d22f
--- /dev/null
+++ b/dev-python/dateparser/dateparser-1.1.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_8,3_9,3_10} )
+inherit distutils-r1
+
+DESCRIPTION="Python parser for human readable dates"
+HOMEPAGE="https://github.com/scrapinghub/dateparser"
+SRC_URI="https://github.com/scrapinghub/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+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=""
diff --git a/dev-python/dateparser/metadata.xml b/dev-python/dateparser/metadata.xml
new file mode 100644
index 00000000..82f7232e
--- /dev/null
+++ b/dev-python/dateparser/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bertrand@jacquin.bzh</email>
+ <name>Bertrand Jacquin</name>
+ </maintainer>
+</pkgmetadata>