diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-20 13:44:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-20 13:44:57 +0000 |
| commit | 5858ffae0847c86b7f42b3bcea802ebdb3f0ba44 (patch) | |
| tree | ab81f74d531290d10041adc15c10af495be255d8 /dev-python/owslib | |
| parent | a3be64552ce9fb6471744889161baee97af4ef4d (diff) | |
| download | baldeagleos-repo-5858ffae0847c86b7f42b3bcea802ebdb3f0ba44.tar.gz baldeagleos-repo-5858ffae0847c86b7f42b3bcea802ebdb3f0ba44.tar.xz baldeagleos-repo-5858ffae0847c86b7f42b3bcea802ebdb3f0ba44.zip | |
Adding metadata
Diffstat (limited to 'dev-python/owslib')
| -rw-r--r-- | dev-python/owslib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/owslib/owslib-0.20.0.ebuild | 11 | ||||
| -rw-r--r-- | dev-python/owslib/owslib-0.25.0.ebuild | 39 |
3 files changed, 49 insertions, 2 deletions
diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index 8164041e6fb0..052cb195f61d 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1 +1,2 @@ DIST owslib-0.20.0.tar.gz 912319 BLAKE2B 9f6e44f76554d67756839bfad1cdce6e2e7a4db6c3517ed308256745a3ea1df77488718f307bcd59dfcae7bab7801ba1974131f358db1bd070846640ccf08ada SHA512 c30e14d0a310617d2dbcca436f38d4a942b8c5efb96506554e650b20b34580fd0119ae6bf17892bb09ceff7141b9cbfd32deb582d14d81b6518dbbc223116d07 +DIST owslib-0.25.0.tar.gz 936550 BLAKE2B 9cb34a6c7c93dc89a466c13351d457c9372d405055fa3f6cec9c05c231e76762168c6813085523037b3a6439100500c46c1044569bd2bb598c3e2e63757d8b86 SHA512 058108cf77197ce24793608869d56bf0467230f5f231ac9ba48445f2e02d07ea1e26be03ad6967504a1e625008ae2768ed2a663f3b7a49dcea410ee4a8b40cec diff --git a/dev-python/owslib/owslib-0.20.0.ebuild b/dev-python/owslib/owslib-0.20.0.ebuild index 3edf4d4c468b..abba50d73852 100644 --- a/dev-python/owslib/owslib-0.20.0.ebuild +++ b/dev-python/owslib/owslib-0.20.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -34,9 +34,16 @@ DEPEND=" " RESTRICT="test" # tests require WAN access +PROPERTIES="test_network" PATCHES=( "${FILESDIR}/${P}-no-privacybreach.patch" ) +src_prepare() { + sed -e '/addopts/d' -i tox.ini || die + distutils-r1_src_prepare +} + python_test() { - "${EPYTHON}" "${S}/setup.py" test || die + epytest --tb=native --ignore=setup.py --doctest-modules --doctest-glob 'tests/**/*.txt' + #"${EPYTHON}" "${S}/setup.py" test || die } diff --git a/dev-python/owslib/owslib-0.25.0.ebuild b/dev-python/owslib/owslib-0.25.0.ebuild new file mode 100644 index 000000000000..f7268b424af8 --- /dev/null +++ b/dev-python/owslib/owslib-0.25.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" +HOMEPAGE="https://geopython.github.io/OWSLib/" +SRC_URI="https://github.com/geopython/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/OWSLib-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pyproj[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/pillow[${PYTHON_USEDEP}] )" + +EPYTEST_DESELECT=( + tests/test_ogcapi_features_pygeoapi.py::test_ogcapi_features_pygeoapi +) + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i tox.ini || die + distutils-r1_src_prepare +} |
