Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-contourpy


Commits:
bb359f4a by Antonio Rojas at 2024-08-28T18:17:53+02:00
upgpkg: 1.3.0-1: Update to 1.3.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
 pkgbase = python-contourpy
        pkgdesc = Python library for calculating contours in 2D quadrilateral 
grids
-       pkgver = 1.2.1
-       pkgrel = 5
+       pkgver = 1.3.0
+       pkgrel = 1
        url = https://github.com/contourpy/contourpy
        arch = x86_64
        license = BSD
        checkdepends = python-matplotlib
        checkdepends = python-pytest
        checkdepends = python-wurlitzer
+       makedepends = git
        makedepends = meson-python
        makedepends = pybind11
        makedepends = python-build
@@ -17,7 +18,7 @@ pkgbase = python-contourpy
        depends = python
        depends = python-numpy
        optdepends = python-matplotlib: matplotlib renderer
-       source = 
https://pypi.python.org/packages/source/c/contourpy/contourpy-1.2.1.tar.gz
-       sha256sums = 
4d8908b3bee1c889e547867ca4cdc54e5ab6be6d3e078556814a22457f49423c
+       source = git+https://github.com/contourpy/contourpy#tag=v1.3.0
+       sha256sums = 
b2844e5fbc830345d84c903d249a870224a30e73277640b9a76c77bb290e9f62
 
 pkgname = python-contourpy


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 
 _pyname=contourpy
 pkgname=python-$_pyname
-pkgver=1.2.1
-pkgrel=5
+pkgver=1.3.0
+pkgrel=1
 pkgdesc='Python library for calculating contours in 2D quadrilateral grids'
 arch=(x86_64)
 url='https://github.com/contourpy/contourpy'
@@ -12,7 +12,8 @@ depends=(gcc-libs
          glibc
          python
          python-numpy)
-makedepends=(meson-python
+makedepends=(git
+             meson-python
              pybind11
              python-build
              python-installer)
@@ -20,27 +21,27 @@ checkdepends=(python-matplotlib
               python-pytest
               python-wurlitzer)
 optdepends=('python-matplotlib: matplotlib renderer')
-source=(https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz)
-sha256sums=('4d8908b3bee1c889e547867ca4cdc54e5ab6be6d3e078556814a22457f49423c')
+source=(git+https://github.com/contourpy/contourpy#tag=v$pkgver)
+sha256sums=('b2844e5fbc830345d84c903d249a870224a30e73277640b9a76c77bb290e9f62')
 
 prepare() {
-  sed -e '/ninja/d' -i $_pyname-$pkgver/pyproject.toml
+  sed -e '/ninja/d' -i $_pyname/pyproject.toml
 }
 
 build() {
-  cd $_pyname-$pkgver
+  cd $_pyname
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd $_pyname-$pkgver
+  cd $_pyname
   python -m venv --system-site-packages test-env
   test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -m pytest -v
 }
 
 package() {
-  cd $_pyname-$pkgver
+  cd $_pyname
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



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

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


Reply via email to