dev-python/mapbox-vector-tile: new package, add 2.0.1

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2023-02-16 14:29:33 +02:00 committed by Sam James
parent c53e9567e0
commit 7fb156da54
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST mapbox-vector-tile-2.0.1.gh.tar.gz 229202 BLAKE2B 9afa12583f1f2697c8fd3a7ad540851c2b3ea7bca26bf7945aa52ad9c2486f4b6ec0a0bc84e750e18ecb55a51558659284d52efedcb724ec5de98f965d78b954 SHA512 67648c27792557a5e011732c31f8a0a3e6efca8630086e55e6fdc433953b820ef6405031d10692999026c604f3977eb00bafa9a1a7015f02c3dca87ca91eadf6

View File

@ -0,0 +1,35 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Mapbox Vector Tile encoding and decoding."
HOMEPAGE="
https://github.com/tilezen/mapbox-vector-tile/
https://pypi.org/project/mapbox-vector-tile/
"
SRC_URI="https://github.com/tilezen/mapbox-vector-tile/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/pyclipper[${PYTHON_USEDEP}]
dev-python/pyproj[${PYTHON_USEDEP}]
dev-python/shapely[${PYTHON_USEDEP}]
"
BDEPEND="test? ( ${RDEPEND} )"
distutils_enable_tests unittest
src_prepare() {
# Dont install into top-level
sed -Ei '/include = \[/,/\]/ { /(README|CHANGELOG)/d }' pyproject.toml || die
default
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>parona@protonmail.com</email>
<name>Alfred Wingate</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">tilezen/mapbox-vector-tile</remote-id>
<remote-id type="pypi">mapbox-vector-tile</remote-id>
</upstream>
</pkgmetadata>