public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/faker/
Date: Mon, 18 May 2020 18:39:39 +0000 (UTC)	[thread overview]
Message-ID: <1589827155.66a270db1435ebc7105c6af9530a0bb31801394d.Alessandro-Barbieri@gentoo> (raw)

commit:     66a270db1435ebc7105c6af9530a0bb31801394d
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 18 18:39:15 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 18 18:39:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66a270db

dev-python/faker: new version

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/faker/Manifest           |  1 +
 dev-python/faker/faker-4.1.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++
 dev-python/faker/metadata.xml       | 17 +++++++++++
 3 files changed, 75 insertions(+)

diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index b9e0bd2..c3f1157 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -1 +1,2 @@
 DIST faker-4.0.3.tar.gz 996987 BLAKE2B cc8fa1ae039d1a753efde2a43404681fe53124fb2a92724a81384cd10dd8008833c6c4468012f3cfaef83ca6e6a50813ef00036b180df2f1752a79064507c770 SHA512 08d7a4fc3a65f4f31467e0aa91525ce92042ef7e471992a63c3fef2efa14ab894bda1f0fa1e6b651f78ceadee7c3683079001db904147739628457a44adef615
+DIST faker-4.1.0.tar.gz 1005246 BLAKE2B 07a4d93875ed67f6e8e34fec7d4015eddc47cdb80e4e5b60f33e5ab93105f14b95f1ff9073debd530e04d71c4c5d22e1db805753151842a6b896095376eb1304 SHA512 da8e6df52c53788af323d92a0feaafcc215bd00ae5a95bb2d829852bbf04f89f9216c7e226b3b89966c053dd891db33acf2e2ee2ac5a981745976325c0cf2d2e

diff --git a/dev-python/faker/faker-4.1.0.ebuild b/dev-python/faker/faker-4.1.0.ebuild
new file mode 100644
index 0000000..2fb03ec
--- /dev/null
+++ b/dev-python/faker/faker-4.1.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python package that generates fake data"
+HOMEPAGE="
+	https://github.com/joke2k/faker
+	https://pypi.org/project/Faker
+"
+SRC_URI="https://github.com/joke2k/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+RDEPEND="
+	>=dev-python/python-dateutil-2.4[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
+"
+DEPEND="
+	${RDEPEND}
+	>=dev-python/sphinx-2.4[${PYTHON_USEDEP}]
+	<dev-python/sphinx-3.0[${PYTHON_USEDEP}]
+	test? (
+		<dev-python/freezegun-0.4[${PYTHON_USEDEP}]
+		dev-python/more-itertools[${PYTHON_USEDEP}]
+		>=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]
+		<dev-python/pytest-5.5[${PYTHON_USEDEP}]
+		dev-python/random2[${PYTHON_USEDEP}]
+		>=dev-python/ukpostcodeparser-1.1.1[${PYTHON_USEDEP}]
+		>=dev-python/validators-0.13.0[${PYTHON_USEDEP}]
+	)
+"
+#BDEPEND="
+#	doc? ( dev-python/faker )
+#"
+
+src_prepare() {
+	export READTHEDOCS=True || die
+	default
+}
+
+python_test() {
+	distutils_install_for_testing
+	pytest -vv || die "Testsuite failed under ${EPYTHON}"
+}
+
+#TODO: make docs working
+#FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/faker-4.1.0/work/docs/providers.rst'
+#distutils_enable_sphinx docs --no-autodoc

diff --git a/dev-python/faker/metadata.xml b/dev-python/faker/metadata.xml
index 81bcab6..df80548 100644
--- a/dev-python/faker/metadata.xml
+++ b/dev-python/faker/metadata.xml
@@ -12,6 +12,23 @@
 	or anonymize data taken from a production service, Faker is for you.
 	</longdescription>
 	<upstream>
+		<maintainer>
+			<name>
+				Daniele Faraglia
+			</name>
+			<email>
+				joke2k@gmail.com
+			</email>
+		</maintainer>
+		<doc lang="en">
+			https://faker.readthedocs.io/en/stable
+		</doc>
+		<bugs-to>
+			https://github.com/joke2k/faker/issues
+		</bugs-to>
+		<changelog>
+			https://raw.githubusercontent.com/joke2k/faker/master/CHANGELOG.rst
+		</changelog>
 		<remote-id type="github">joke2k/faker</remote-id>
 		<remote-id type="pypi">Faker</remote-id>
 	</upstream>


             reply	other threads:[~2020-05-18 18:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-18 18:39 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-18 16:19 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/faker/ Andrew Ammerlaan
2020-12-09  2:53 Alessandro Barbieri
2020-12-06 19:34 Andrew Ammerlaan
2020-08-28 15:26 Andrew Ammerlaan
2020-04-25 11:16 Andrew Ammerlaan
2020-04-25  0:37 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589827155.66a270db1435ebc7105c6af9530a0bb31801394d.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox