diff --git a/community/py3-shapely/20-geos390.patch b/community/py3-shapely/20-geos390.patch new file mode 100644 index 00000000000..778dbfaa347 --- /dev/null +++ b/community/py3-shapely/20-geos390.patch @@ -0,0 +1,32 @@ +Author: Holger Jaekel +Summary: ignore test failing with geos 3.9.0 +Url: https://github.com/Toblerity/Shapely/issues/1079 +---- + +--- a/tests/test_svg.py ++++ b/tests/test_svg.py +@@ -169,24 +169,5 @@ class SvgTestCase(unittest.TestCase): + 'stroke-width="2.0" opacity="0.6" d="M 0.0,40.0 L 0.0,0.0 L ' + '40.0,40.0 L 40.0,0.0 L 0.0,40.0 z" />') + +- def test_collection(self): +- # Empty +- self.assertSVG(GeometryCollection(), '') +- # Valid +- self.assertSVG( +- Point(7, 3).union(LineString([(4, 2), (8, 4)])), +- '' +- '') +- # Invalid +- self.assertSVG( +- Point(7, 3).union(LineString([(4, 2), (4, 2)])), +- '' +- '') +- +- + def test_suite(): + return unittest.TestLoader().loadTestsFromTestCase(SvgTestCase) diff --git a/community/py3-shapely/APKBUILD b/community/py3-shapely/APKBUILD index ccfae8b68b6..53797ac5f36 100644 --- a/community/py3-shapely/APKBUILD +++ b/community/py3-shapely/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Holger Jaekel pkgname=py3-shapely pkgver=1.7.1 -pkgrel=0 +pkgrel=1 pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane" url="https://pypi.python.org/pypi/Shapely" arch="all !s390x !mips !mips64" # geos availability @@ -25,6 +25,7 @@ checkdepends=" source=" https://pypi.io/packages/source/S/Shapely/Shapely-$pkgver.tar.gz 10-packaging.patch + 20-geos390.patch " builddir="$srcdir/Shapely-$pkgver" @@ -54,4 +55,5 @@ package() { } sha512sums="f5991a35692241ff48f7219edd88bdab7da5b9135c22d26ca530cbdb9160717fd88f2913a9da8ae53869c68955418c14ffd5d798df196639de63660226bd6412 Shapely-1.7.1.tar.gz -7cebaf4e059d71e1cd374539eb056491afbf736e05bf369a3c6533306885940d108340ada56ec7662e30aac04d2bd3ac4019ccf2fc447151d2274009d93d00fe 10-packaging.patch" +7cebaf4e059d71e1cd374539eb056491afbf736e05bf369a3c6533306885940d108340ada56ec7662e30aac04d2bd3ac4019ccf2fc447151d2274009d93d00fe 10-packaging.patch +d65ddece42623f3e5f6c05b9a7da341de9fcc6dfd1d4c196bb3ac6a46a94fc3cd0b0c60adf3683fd285d4c3e55613bb6939a5e3ab4d714a7d14c68e35b105128 20-geos390.patch"