Date: Monday, April 10, 2023 @ 14:10:14
Author: alerque
Revision: 1444437
archrelease: copy trunk to community-staging-any
Added:
python-geojson/repos/community-staging-any/PKGBUILD
(from rev 1444436, python-geojson/trunk/PKGBUILD)
Deleted:
python-geojson/repos/community-staging-any/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
python-geojson/repos/community-staging-any/PKGBUILD
-----------------------------------------------------------------+
0001-Remove-encoding-parameter-from-json.load-for-Python-.patch | 26 ---
PKGBUILD | 75
++++------
2 files changed, 34 insertions(+), 67 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 14:09:17 UTC (rev 1444436)
+++ 0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
2023-04-10 14:10:14 UTC (rev 1444437)
@@ -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
-
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 14:09:17 UTC (rev 1444436)
+++ PKGBUILD 2023-04-10 14:10:14 UTC (rev 1444437)
@@ -1,41 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Alexander Fasching <[email protected]>
-# Contributor: Johannes Loethberg <[email protected]>
-
-_pyname=geojson
-pkgname="python-$_pyname"
-pkgver=2.5.0
-pkgrel=5
-pkgdesc='Python bindings and utilities for GeoJSON'
-url="https://github.com/frewsxcv/$pkgname"
-arch=(any)
-license=(BSD)
-depends=(python)
-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')
-
-prepare() {
- cd "$_archive"
- patch -p1 <
../0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
-}
-
-build() {
- cd "$_archive"
- python -m build -wn
-}
-
-check() {
- cd "$_archive"
- python -m unittest discover
-}
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.rst
-}
Copied: python-geojson/repos/community-staging-any/PKGBUILD (from rev 1444436,
python-geojson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 14:10:14 UTC (rev 1444437)
@@ -0,0 +1,34 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Alexander Fasching <[email protected]>
+# Contributor: Johannes Loethberg <[email protected]>
+
+_pyname=geojson
+pkgname="python-$_pyname"
+pkgver=3.0.1
+pkgrel=2
+pkgdesc='Python bindings and utilities for GeoJSON'
+url="https://github.com/frewsxcv/$pkgname"
+arch=(any)
+license=(BSD)
+depends=(python)
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
+_archive="$_pyname-$pkgver"
+source=("$_archive.tgz::$url/archive/$pkgver.tar.gz")
+sha256sums=('a8afb889855ce7c756fcd78325be6ab51ade3ea2b72f8f41c74d724fc85c1d45')
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive"
+ python -m unittest discover
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.rst
+}