From 643cbce28ed0f7dc380f30c43895c3d07998ee02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 20 Mar 2025 06:35:10 +0100 Subject: [PATCH] dev-python/owslib: Bump to 0.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/owslib/Manifest | 1 + dev-python/owslib/owslib-0.33.0.ebuild | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/owslib/owslib-0.33.0.ebuild diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index 5a8d28e56fc3d..5d0d75ff4da63 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1 +1,2 @@ DIST OWSLib-0.32.1.gh.tar.gz 1060242 BLAKE2B 03f32ca140b1b337af0eff9676c61c075e27b97d582e46fefddd0563bfa7b71c152a94055df1808294860395271031adb045df1ba3b1ba103f2d423d2eab4eab SHA512 1d8ff92295a26395459b2a8caa92120c2bb813d33eaaba95476af09c32eb92cd2d52f9b29422d93837c8456cbf63535b5b60a196c212a1d349c803db9349543e +DIST OWSLib-0.33.0.gh.tar.gz 1073327 BLAKE2B dd0ea8dd04f2ee1cd2b972b8d0b0c5425d0c611f9dd32aeb3e9a4799ecc3f9b9132e280099b038769c47b35211cd2f192dd4ced304240ab48a3996643329bd7b SHA512 64833cf3b390e9db85bfd20ed5b77cf026a6e946f7b538e1227c7b8eb50809d6c9099693e52ea39bd3c7098bdfd8a519c7290751c9743ba5cdcae5733b22143f diff --git a/dev-python/owslib/owslib-0.33.0.ebuild b/dev-python/owslib/owslib-0.33.0.ebuild new file mode 100644 index 0000000000000..9a5706b3ae0ab --- /dev/null +++ b/dev-python/owslib/owslib-0.33.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P=OWSLib-${PV} +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE=" + https://geopython.github.io/OWSLib/ + https://github.com/geopython/owslib/ + https://pypi.org/project/OWSLib/ +" +SRC_URI=" + https://github.com/geopython/${PN}/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not online" +}