From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BC2415801F for ; Mon, 4 Oct 2021 22:30:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 738C2E08D3; Mon, 4 Oct 2021 22:30:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BD49E08D3 for ; Mon, 4 Oct 2021 22:30:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88AC834305F for ; Mon, 4 Oct 2021 22:30:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04B36147 for ; Mon, 4 Oct 2021 22:30:24 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1633386620.49ec9d3e7d53819d25c94c4c2267829d9086d0e4.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/rstr/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/rstr/Manifest dev-python/rstr/rstr-3.0.0.ebuild X-VCS-Directories: dev-python/rstr/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 49ec9d3e7d53819d25c94c4c2267829d9086d0e4 X-VCS-Branch: dev Date: Mon, 4 Oct 2021 22:30:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 44bfed06-11c9-4d88-b4f4-797d59d1d26f X-Archives-Hash: e75c9fc9a9a60c2b2f192a534cf542ca commit: 49ec9d3e7d53819d25c94c4c2267829d9086d0e4 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Oct 4 22:10:34 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Mon Oct 4 22:30:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=49ec9d3e dev-python/rstr: add 3.0.0 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/rstr/Manifest | 1 + dev-python/rstr/rstr-3.0.0.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-python/rstr/Manifest b/dev-python/rstr/Manifest index b5b287942..6ae33ee17 100644 --- a/dev-python/rstr/Manifest +++ b/dev-python/rstr/Manifest @@ -1 +1,2 @@ DIST rstr-2.2.6.tar.gz 11197 BLAKE2B 115b674b6d474716623846838b77d08455b60c452150f149f1577ec18a730751af1bc9b4cf3cd445b676ebac1c9bf2262da18f15583d06b75f0746adc363be1b SHA512 ddd4eb4ca25f2bd991d14af6ae800a911a7077dfb14ad1968bf9e62363505e54b4f98b36eb53b7077435f9703116cc2338490a3e0d6d4d1d6fe9857a4d560976 +DIST rstr-3.0.0.tar.gz 11389 BLAKE2B 8e5283ed2fd478189a1ddb0663069ca4a50b52a928290af171d8e79b6e59659530f45eac282cffe52be150c8d4a75adca35fdc2e5afb5c0025da31ada02fc3c7 SHA512 8b9909057f44ffdbfa5a037f9eaf50e506204d846143b54c23c6c83a8589ea5dc7236fa7f987e20b127ef139bef6f47b22239fd961da1f5c5b45606f511cadd8 diff --git a/dev-python/rstr/rstr-3.0.0.ebuild b/dev-python/rstr/rstr-3.0.0.ebuild new file mode 100644 index 000000000..af5142c3c --- /dev/null +++ b/dev-python/rstr/rstr-3.0.0.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" +}