Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
python-build


Commits:
98f8ec75 by Daniel M. Capella at 2024-09-06T18:22:41-04:00
upgpkg: 1.2.2-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,14 @@
 pkgbase = python-build
        pkgdesc = A simple, correct Python build frontend
-       pkgver = 1.2.1
-       pkgrel = 3
+       pkgver = 1.2.2
+       pkgrel = 1
        url = https://github.com/pypa/build
        arch = any
        license = MIT
+       checkdepends = python-filelock
        checkdepends = python-pytest
        checkdepends = python-pytest-mock
        checkdepends = python-pytest-rerunfailures
-       checkdepends = python-filelock
        checkdepends = python-setuptools
        checkdepends = python-uv
        checkdepends = python-virtualenv
@@ -23,8 +23,8 @@ pkgbase = python-build
        optdepends = python-pip: to use as the Python package installer 
(default)
        optdepends = python-uv: to use as the Python package installer
        optdepends = python-virtualenv: to use virtualenv for build isolation
-       source = 
python-build::git+https://github.com/pypa/build#tag=1.2.1?signed
+       source = 
python-build::git+https://github.com/pypa/build#tag=1.2.2?signed
        validpgpkeys = 2FDEC9863E5E14C7BC429F27B9D0E45146A241E8
-       b2sums = 
891acaf857efc18c210648a681c8499a47b6fe5ba58176d026bdfeffce665de26cd17580fcace2fb5970b2f21a37127ea73c196a5a2b8510dd84f6b873217c17
+       b2sums = 
50f927c2f51e9ae85b857f115f22671e6fa869459fe66e0447b32d74f86130a33313065c0eca2cc68350f8a6530cfa3c72661fc2528ff628c7cc10557c662f18
 
 pkgname = python-build


=====================================
PKGBUILD
=====================================
@@ -3,19 +3,32 @@
 
 _pkgname=build
 pkgname=python-$_pkgname
-pkgver=1.2.1
-pkgrel=3
+pkgver=1.2.2
+pkgrel=1
 pkgdesc='A simple, correct Python build frontend'
-arch=('any')
+arch=(any)
 url='https://github.com/pypa/build'
-license=('MIT')
-depends=('python' 'python-packaging' 'python-pyproject-hooks')
+license=(MIT)
+depends=(
+  python
+  python-packaging
+  python-pyproject-hooks
+)
 makedepends=(
-  'git' 'python-build' 'python-flit-core' 'python-installer'
+  git
+  python-build
+  python-flit-core
+  python-installer
 )
 checkdepends=(
-  'python-pytest' 'python-pytest-mock' 'python-pytest-rerunfailures'
-  'python-filelock' 'python-setuptools' 'python-uv' 'python-virtualenv' 
'python-wheel'
+  python-filelock
+  python-pytest
+  python-pytest-mock
+  python-pytest-rerunfailures
+  python-setuptools
+  python-uv
+  python-virtualenv
+  python-wheel
 )
 optdepends=(
   'python-pip: to use as the Python package installer (default)'
@@ -24,10 +37,10 @@ optdepends=(
 )
 source=("$pkgname::git+$url#tag=$pkgver?signed")
 validpgpkeys=(
-#  '3DCE51D60930EBA47858BA4146F633CBB0EB4BF2' # Filipe Laíns (FFY00) 
<[email protected]>
-  '2FDEC9863E5E14C7BC429F27B9D0E45146A241E8' # Henry Schreiner 
<[email protected]>
+#  3DCE51D60930EBA47858BA4146F633CBB0EB4BF2 # Filipe Laíns (FFY00) 
<[email protected]>
+  2FDEC9863E5E14C7BC429F27B9D0E45146A241E8 # Henry Schreiner 
<[email protected]>
 )
-b2sums=('891acaf857efc18c210648a681c8499a47b6fe5ba58176d026bdfeffce665de26cd17580fcace2fb5970b2f21a37127ea73c196a5a2b8510dd84f6b873217c17')
+b2sums=('50f927c2f51e9ae85b857f115f22671e6fa869459fe66e0447b32d74f86130a33313065c0eca2cc68350f8a6530cfa3c72661fc2528ff628c7cc10557c662f18')
 
 build() {
   cd $pkgname
@@ -42,13 +55,12 @@ check() {
 }
 
 package() {
-  cd $pkgname
-
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
   install -d "$pkgdir"/usr/share/licenses/$pkgname
   ln -s "$site_packages"/$_pkgname-$pkgver.dist-info/LICENSE \
     "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  cd $pkgname
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-build/-/commit/98f8ec75125a8c26ff5ee55f9910f381f78dfb06

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


Reply via email to