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/rstr/
Date: Sat,  3 Jul 2021 23:55:48 +0000 (UTC)	[thread overview]
Message-ID: <1625356545.2b865e2e3fb1823274d930398df04ffbc6bbcfa4.Alessandro-Barbieri@gentoo> (raw)

commit:     2b865e2e3fb1823274d930398df04ffbc6bbcfa4
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jul  3 21:16:21 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jul  3 23:55:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b865e2e

dev-python/rstr: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/rstr/Manifest          |  1 +
 dev-python/rstr/metadata.xml      | 17 +++++++++++++++++
 dev-python/rstr/rstr-2.2.6.ebuild | 27 +++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dev-python/rstr/Manifest b/dev-python/rstr/Manifest
new file mode 100644
index 000000000..b5b287942
--- /dev/null
+++ b/dev-python/rstr/Manifest
@@ -0,0 +1 @@
+DIST rstr-2.2.6.tar.gz 11197 BLAKE2B 115b674b6d474716623846838b77d08455b60c452150f149f1577ec18a730751af1bc9b4cf3cd445b676ebac1c9bf2262da18f15583d06b75f0746adc363be1b SHA512 ddd4eb4ca25f2bd991d14af6ae800a911a7077dfb14ad1968bf9e62363505e54b4f98b36eb53b7077435f9703116cc2338490a3e0d6d4d1d6fe9857a4d560976

diff --git a/dev-python/rstr/metadata.xml b/dev-python/rstr/metadata.xml
new file mode 100644
index 000000000..e141e5d73
--- /dev/null
+++ b/dev-python/rstr/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<description>co-maintainers welcome</description>
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
+	<longdescription lang="en">
+	rstr is a helper module for easily generating random strings
+	of various types. It could be useful for fuzz testing,
+	generating dummy data, or other applications.
+	</longdescription>
+	<upstream>
+		<remote-id type="pypi">rstr</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/rstr/rstr-2.2.6.ebuild b/dev-python/rstr/rstr-2.2.6.ebuild
new file mode 100644
index 000000000..af5142c3c
--- /dev/null
+++ b/dev-python/rstr/rstr-2.2.6.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Easily generate random strings of various types"
+HOMEPAGE="https://pypi.org/project/rstr"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT=0
+KEYWORDS="~amd64"
+
+distutils_enable_tests unittest
+
+python_test() {
+	"${PYTHON}" -m unittest discover -v rstr/tests || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests removing failed"
+}


             reply	other threads:[~2021-07-03 23:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03 23:55 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-04 22:30 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/rstr/ Alessandro Barbieri
2021-10-07 10:22 Alessandro Barbieri
2022-03-14  2:41 Alessandro Barbieri
2022-03-27 21:50 Alessandro Barbieri
2022-03-27 21:50 Alessandro Barbieri
2022-05-30 12:09 Alessandro Barbieri
2022-05-31  7:27 Anna Vyalkova

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=1625356545.2b865e2e3fb1823274d930398df04ffbc6bbcfa4.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