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 A2988158086 for ; Fri, 8 Oct 2021 19:46:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B505E081E; Fri, 8 Oct 2021 19:46:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 20B6EE081E for ; Fri, 8 Oct 2021 19:46:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62AFE342F36 for ; Fri, 8 Oct 2021 19:46:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1486114 for ; Fri, 8 Oct 2021 19:46:13 +0000 (UTC) From: "Nicola Smaniotto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicola Smaniotto" Message-ID: <1633722337.b24dc12afb80100f3b46142529d21c3a1145dd9d.smaniotto.nicola@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/urlmatch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/urlmatch/Manifest dev-python/urlmatch/metadata.xml dev-python/urlmatch/urlmatch-1.0.1.ebuild X-VCS-Directories: dev-python/urlmatch/ X-VCS-Committer: smaniotto.nicola X-VCS-Committer-Name: Nicola Smaniotto X-VCS-Revision: b24dc12afb80100f3b46142529d21c3a1145dd9d X-VCS-Branch: dev Date: Fri, 8 Oct 2021 19:46:13 +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: 70cd94a5-4f8e-49f6-89b1-9ca339b3d27d X-Archives-Hash: 18a658e7596390bb7ae5d022cee82989 commit: b24dc12afb80100f3b46142529d21c3a1145dd9d Author: Nicola Smaniotto gmail com> AuthorDate: Fri Oct 8 19:40:51 2021 +0000 Commit: Nicola Smaniotto gmail com> CommitDate: Fri Oct 8 19:45:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b24dc12a dev-python/urlmatch: new package (1.0.1) Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto gmail.com> dev-python/urlmatch/Manifest | 1 + dev-python/urlmatch/metadata.xml | 8 ++++++++ dev-python/urlmatch/urlmatch-1.0.1.ebuild | 27 +++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) diff --git a/dev-python/urlmatch/Manifest b/dev-python/urlmatch/Manifest new file mode 100644 index 000000000..6c7d55d3c --- /dev/null +++ b/dev-python/urlmatch/Manifest @@ -0,0 +1 @@ +DIST urlmatch-1.0.1.tar.gz 4852 BLAKE2B 564784d2d6555cab8193136e7626e7c2f9766823faf69de50985a140c72e707b89adf8916915dc4f3e94d389638873a272f6d78b867ae391791dbd9b4fa4c4ae SHA512 f5dc2bae59db0e193de4e5ec5bf7f074da60b925a09d8f466cf29f73ca7bebbe59a63c65d3b361e9dc475aac528f7990ec23fdc73fc24de260fe9f2447e287e0 diff --git a/dev-python/urlmatch/metadata.xml b/dev-python/urlmatch/metadata.xml new file mode 100644 index 000000000..cbe3c6a53 --- /dev/null +++ b/dev-python/urlmatch/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + diff --git a/dev-python/urlmatch/urlmatch-1.0.1.ebuild b/dev-python/urlmatch/urlmatch-1.0.1.ebuild new file mode 100644 index 000000000..f94bde28e --- /dev/null +++ b/dev-python/urlmatch/urlmatch-1.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="A Python library for easily pattern matching wildcard URLs" +HOMEPAGE="https://github.com/jessepollak/urlmatch" +SRC_URI="https://github.com/jessepollak/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest + +src_prepare(){ + sed 's/find_packages()/find_packages(exclude=["tests*"])/' -i setup.py || die + default +} + +python_test(){ + eunittest tests/ "*.py" +}