Date: Monday, April 10, 2023 @ 13:21:32
  Author: alerque
Revision: 1444323

upgpkg: python-geojson 3.0.1-1

Modified:
  python-geojson/trunk/PKGBUILD
Deleted:
  
python-geojson/trunk/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch

-----------------------------------------------------------------+
 0001-Remove-encoding-parameter-from-json.load-for-Python-.patch |   26 
----------
 PKGBUILD                                                        |   15 +----
 2 files changed, 4 insertions(+), 37 deletions(-)

Deleted: 0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
===================================================================
--- 0001-Remove-encoding-parameter-from-json.load-for-Python-.patch     
2023-04-10 13:20:57 UTC (rev 1444322)
+++ 0001-Remove-encoding-parameter-from-json.load-for-Python-.patch     
2023-04-10 13:21:32 UTC (rev 1444323)
@@ -1,26 +0,0 @@
-From d88e32f1b05ad287a8d612e6f61ed7432fc72957 Mon Sep 17 00:00:00 2001
-From: Karthikeyan Singaravelan <[email protected]>
-Date: Mon, 10 Aug 2020 10:06:14 +0530
-Subject: [PATCH] Remove encoding parameter from json.load for Python 3.9
- compatibility. (#151)
-
----
- tests/test_features.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test_features.py b/tests/test_features.py
-index 529de70..e2b56e9 100644
---- a/tests/test_features.py
-+++ b/tests/test_features.py
-@@ -82,7 +82,7 @@ class FeaturesTest(unittest.TestCase):
-                 ' "properties": {"summary": "The first feature",'
-                 ' "link": "http://example.org/features/1";,'
-                 ' "title": "Feature 1"}}')
--        feature = geojson.loads(json, object_hook=factory, encoding="utf-8")
-+        feature = geojson.loads(json, object_hook=factory)
-         self.assertEqual(repr(type(feature)),
-                          "<class 'geojson.examples.SimpleWebFeature'>")
-         self.assertEqual(feature.id, '1')
--- 
-2.32.0
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-10 13:20:57 UTC (rev 1444322)
+++ PKGBUILD    2023-04-10 13:21:32 UTC (rev 1444323)
@@ -4,8 +4,8 @@
 
 _pyname=geojson
 pkgname="python-$_pyname"
-pkgver=2.5.0
-pkgrel=5
+pkgver=3.0.1
+pkgrel=1
 pkgdesc='Python bindings and utilities for GeoJSON'
 url="https://github.com/frewsxcv/$pkgname";
 arch=(any)
@@ -14,16 +14,9 @@
 makedepends=(python-{build,installer,wheel}
              python-setuptools)
 _archive="$_pyname-$pkgver"
-source=("$_archive.tgz::$url/archive/$pkgver.tar.gz"
-        0001-Remove-encoding-parameter-from-json.load-for-Python-.patch)
-sha256sums=('e70c9af97cf01abf88e350f08bb2b42a3dd0bfdb9dddb26d80155ecf2065215c'
-            'cf701e826a0cda61484ebc1ac06e4aeb0f9af2ec718d284d481f9870c7d1452b')
+source=("$_archive.tgz::$url/archive/$pkgver.tar.gz")
+sha256sums=('a8afb889855ce7c756fcd78325be6ab51ade3ea2b72f8f41c74d724fc85c1d45')
 
-prepare() {
-       cd "$_archive"
-       patch -p1 < 
../0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
-}
-
 build() {
        cd "$_archive"
        python -m build -wn

Reply via email to