mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/urlmatch: new package (1.0.1)
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
1
dev-python/urlmatch/Manifest
Normal file
1
dev-python/urlmatch/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST urlmatch-1.0.1.tar.gz 4852 BLAKE2B 564784d2d6555cab8193136e7626e7c2f9766823faf69de50985a140c72e707b89adf8916915dc4f3e94d389638873a272f6d78b867ae391791dbd9b4fa4c4ae SHA512 f5dc2bae59db0e193de4e5ec5bf7f074da60b925a09d8f466cf29f73ca7bebbe59a63c65d3b361e9dc475aac528f7990ec23fdc73fc24de260fe9f2447e287e0
|
||||
8
dev-python/urlmatch/metadata.xml
Normal file
8
dev-python/urlmatch/metadata.xml
Normal file
@@ -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>smaniotto.nicola@gmail.com</email>
|
||||
<name>Nicola Smaniotto</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
27
dev-python/urlmatch/urlmatch-1.0.1.ebuild
Normal file
27
dev-python/urlmatch/urlmatch-1.0.1.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user