Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / 
python-arrow


Commits:
ba93cd2e by Maxime Gauduin at 2023-10-09T23:52:45+02:00
upgpkg: 1.3.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,19 @@
 pkgbase = python-arrow
        pkgdesc = Better dates and times for Python
-       pkgver = 1.2.3
-       pkgrel = 3
+       pkgver = 1.3.0
+       pkgrel = 1
        url = https://arrow.readthedocs.io
        arch = any
        license = APACHE
        checkdepends = python-tox
        makedepends = git
-       makedepends = python-setuptools
+       makedepends = python-build
+       makedepends = python-flit-core
+       makedepends = python-installer
        depends = python
        depends = python-dateutil
        depends = python-typing_extensions
-       source = 
git+https://github.com/crsmithdev/arrow.git#tag=8842f8c3263d1f1219c189a0500aa67abdd0a214
+       source = 
git+https://github.com/crsmithdev/arrow.git#tag=87a1a774aad0505d9da18ad1d16f6e571f262503
        sha256sums = SKIP
 
 pkgname = python-arrow


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Contributor: Tatsuyuki Ishi <[email protected]>
 
 pkgname=python-arrow
-pkgver=1.2.3
-pkgrel=3
+pkgver=1.3.0
+pkgrel=1
 pkgdesc='Better dates and times for Python'
 arch=(any)
 url=https://arrow.readthedocs.io
@@ -15,10 +15,12 @@ depends=(
 )
 makedepends=(
   git
-  python-setuptools
+  python-build
+  python-flit-core
+  python-installer
 )
 checkdepends=(python-tox)
-_tag=8842f8c3263d1f1219c189a0500aa67abdd0a214
+_tag=87a1a774aad0505d9da18ad1d16f6e571f262503
 source=(git+https://github.com/crsmithdev/arrow.git#tag=${_tag})
 sha256sums=(SKIP)
 
@@ -29,7 +31,7 @@ pkgver() {
 
 build() {
   cd arrow
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -38,8 +40,7 @@ check() {
 }
 
 package() {
-  cd arrow
-  python setup.py install --skip-build --root="${pkgdir}" --optimize=1 
--skip-build
+  python -m installer --destdir="${pkgdir}" arrow/dist/*.whl
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-arrow/-/commit/ba93cd2e1bd9f6c430164fb8491b6f8631231913

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-arrow/-/commit/ba93cd2e1bd9f6c430164fb8491b6f8631231913
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to