Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
bullet


Commits:
fc5a7649 by loqs at 2026-01-26T22:40:29+00:00
SPDX license identifier

https://github.com/bulletphysics/bullet3/blob/3.25/LICENSE.txt

- - - - -
eb5025e1 by loqs at 2026-01-26T22:41:37+00:00
Change bullet-docs arch to any

- - - - -
ce854d87 by loqs at 2026-01-26T22:41:38+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -4,7 +4,7 @@ pkgbase = bullet
        pkgrel = 8
        url = http://www.bulletphysics.com/Bullet/
        arch = x86_64
-       license = custom:zlib
+       license = Zlib
        makedepends = cmake
        makedepends = doxygen
        makedepends = graphviz
@@ -12,8 +12,11 @@ pkgbase = bullet
        makedepends = mesa
        makedepends = glu
        makedepends = python
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-numpy
        makedepends = python-setuptools
+       makedepends = python-wheel
        makedepends = ninja
        source = 
bullet-3.25.tar.gz::https://github.com/bulletphysics/bullet3/archive/refs/tags/3.25.tar.gz
        source = bullet3_examplebrowser.sh
@@ -37,6 +40,7 @@ pkgname = bullet-dp
 
 pkgname = bullet-docs
        pkgdesc = Documentation for bullet
+       arch = any
 
 pkgname = python-pybullet
        pkgdesc = Bullet Python bindings


=====================================
PKGBUILD
=====================================
@@ -9,8 +9,8 @@ pkgrel=8
 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games 
and animation"
 arch=('x86_64')
 url="http://www.bulletphysics.com/Bullet/";
-license=('custom:zlib')
-makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu' 'python' 
'python-numpy' 'python-setuptools' 'ninja')
+license=('Zlib')
+makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu' 'python' 
'python-build' 'python-installer' 'python-numpy' 'python-setuptools' 
'python-wheel' 'ninja')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/bulletphysics/bullet3/archive/refs/tags/${_pkgver}.tar.gz";
         bullet3_examplebrowser.sh)
 
sha512sums=('7086e5fcf69635801bb311261173cb8d173b712ca1bd78be03df48fad884674e85512861190e45a1a62d5627aaad65cde08c175c44a3be9afa410d3dfd5358d4'
@@ -44,7 +44,7 @@ build() {
   ninja -C build
 
   # For Python and docs it doesn't matter whether we build multithreaded or 
not.
-  python setup.py build
+  python -m build --wheel --no-isolation
   doxygen
 
   cd ../bullet3-${_pkgver}-dp
@@ -114,13 +114,14 @@ package_python-pybullet() {
   cd bullet3-${_pkgver}
 
   install -Dm755 build/examples/pybullet/libpybullet.so.${pkgver} 
"${pkgdir}"/usr/lib/libpybullet.so.${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 
--skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 package_bullet-docs() {
   pkgdesc="Documentation for bullet"
+  arch=('any')
 
   cd bullet3-${_pkgver}
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bullet/-/compare/b17d443999e871509dc9da4bc3c034759f4754c0...ce854d870f9ab26f6f668e5b121938590d1c48ae

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bullet/-/compare/b17d443999e871509dc9da4bc3c034759f4754c0...ce854d870f9ab26f6f668e5b121938590d1c48ae
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to