Date: Wednesday, May 17, 2023 @ 13:44:28 Author: alerque Revision: 1462964
archrelease: copy trunk to community-x86_64 Added: pymol/repos/community-x86_64/ChangeLog (from rev 1462963, pymol/trunk/ChangeLog) pymol/repos/community-x86_64/PKGBUILD (from rev 1462963, pymol/trunk/PKGBUILD) Deleted: pymol/repos/community-x86_64/ChangeLog pymol/repos/community-x86_64/PKGBUILD -----------+ ChangeLog | 128 ++++++++++++++++++++++++++++++------------------------------ PKGBUILD | 124 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 128 insertions(+), 124 deletions(-) Deleted: ChangeLog =================================================================== --- ChangeLog 2023-05-17 13:43:00 UTC (rev 1462963) +++ ChangeLog 2023-05-17 13:44:28 UTC (rev 1462964) @@ -1,64 +0,0 @@ -2.3.0-1: -* upstream update -* use libmmtf as makedependency - -2.2.0-1: -* upstream update -* use github sources - -2.1.0-1: -* upstream update -* use python3 instead of python2 -* move pmw to optdep list - -1.8.6.2-1: -upstream update - -1.8.6.0-2: -rollback to python2 (see FS#53654) - -1.8.6.0-1: -* upstream update -* use python3 instead of python2 - -1.8.4.0-1: -upstream update - -1.8.2.1-2 -glew-2.0 rebuild - -1.8.2.1-1: -upstream update - -1.8.2.0-2: -drop install file, use pacman hooks instead - -1.8.2.0-1: -upstream update - -1.8.0.0.r4144-1: -upstream update - -1.8.0.0-1: -upstream update - -1.7.6.0-1: -upstream update - -1.7.4.0-2: -glew rebuild - -1.7.4.0-1: -upstream update - -1.7.2.1-2: -fix dep list - -1.7.2.1-1: -upstream update - -1.7.2.0-2: -glew rebuild - -1.7.2.0-1: -upstream update Copied: pymol/repos/community-x86_64/ChangeLog (from rev 1462963, pymol/trunk/ChangeLog) =================================================================== --- ChangeLog (rev 0) +++ ChangeLog 2023-05-17 13:44:28 UTC (rev 1462964) @@ -0,0 +1,64 @@ +2.3.0-1: +* upstream update +* use libmmtf as makedependency + +2.2.0-1: +* upstream update +* use github sources + +2.1.0-1: +* upstream update +* use python3 instead of python2 +* move pmw to optdep list + +1.8.6.2-1: +upstream update + +1.8.6.0-2: +rollback to python2 (see FS#53654) + +1.8.6.0-1: +* upstream update +* use python3 instead of python2 + +1.8.4.0-1: +upstream update + +1.8.2.1-2 +glew-2.0 rebuild + +1.8.2.1-1: +upstream update + +1.8.2.0-2: +drop install file, use pacman hooks instead + +1.8.2.0-1: +upstream update + +1.8.0.0.r4144-1: +upstream update + +1.8.0.0-1: +upstream update + +1.7.6.0-1: +upstream update + +1.7.4.0-2: +glew rebuild + +1.7.4.0-1: +upstream update + +1.7.2.1-2: +fix dep list + +1.7.2.1-1: +upstream update + +1.7.2.0-2: +glew rebuild + +1.7.2.0-1: +upstream update Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-17 13:43:00 UTC (rev 1462963) +++ PKGBUILD 2023-05-17 13:44:28 UTC (rev 1462964) @@ -1,60 +0,0 @@ -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org> -# Contributor: graysky -# Contributor: Tomasz Żok <tomasz dot zok at gmail dot com> - -pkgname=pymol -_project=pymol-open-source -pkgver=2.5.0 -pkgrel=6 -pkgdesc='Molecular visualization system on an Open Source foundation' -arch=(x86_64) -url=https://pymol.org -license=(custom) -depends=(freetype2 - glew - glm - glut - netcdf - netcdf-cxx - python-numpy - tcsh) -makedepends=(desktop-file-utils - gendesk - mmtf-cpp - msgpack-c - python-{build,installer,wheel} - python-setuptools) -optdepends=('python-pyqt5: Qt5 based UI') -_archive="$_project-$pkgver" -source=("https://github.com/schrodinger/pymol-open-source/archive/v$pkgver/$_archive.tar.gz" - "$pkgname.png::https://c.fsdn.com/allura/p/pymol/icon") -sha256sums=('aa828bf5719bd9a14510118a93182a6e0cadc03a574ba1e327e1e9780a0e80b3' - '0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd') -changelog=ChangeLog - -prepare() { - # create desktop file - gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" \ - --name="PyMOL Molecular Graphics System" \ - --categories="Science;Chemistry" - cd "$_archive" - # suppress non-zero exit code that breaks makepkg - sed -i -e '/sys.exit/ s,2,0,' setup.py - # setup script PEP 517 compatiblitiy is broken - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - sed -i -E '/def (finalize_options|make_launch_script)/a \ self.install_libbase="'$site_packages'"' setup.py -} - -build() { - cd "$_archive" - python -m build -wn -} - -package() { - install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop" - install -Dm0644 -t "$pkgdir/usr/share/pixmaps/" "$pkgname.png" - cd "$_archive" - python -m installer -d "$pkgdir" dist/*.whl - install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE -} Copied: pymol/repos/community-x86_64/PKGBUILD (from rev 1462963, pymol/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-17 13:44:28 UTC (rev 1462964) @@ -0,0 +1,64 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org> +# Contributor: graysky +# Contributor: Tomasz Żok <tomasz dot zok at gmail dot com> + +pkgname=pymol +_project=pymol-open-source +pkgver=2.5.0 +pkgrel=7 +pkgdesc='Molecular visualization system on an Open Source foundation' +arch=(x86_64) +url=https://pymol.org +license=(custom) +depends=(freetype2 + glew + glm + glut + netcdf + netcdf-cxx + python-numpy + tcsh) +makedepends=(desktop-file-utils + gendesk + mmtf-cpp + msgpack-c + python-{build,installer,wheel} + python-setuptools) +optdepends=('python-pyqt5: Qt5 based UI') +_archive="$_project-$pkgver" +source=("https://github.com/schrodinger/pymol-open-source/archive/v$pkgver/$_archive.tar.gz" + "$pkgname.png::https://c.fsdn.com/allura/p/pymol/icon") +sha256sums=('aa828bf5719bd9a14510118a93182a6e0cadc03a574ba1e327e1e9780a0e80b3' + '0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd') +changelog=ChangeLog + +prepare() { + # create desktop file + gendesk -f -n \ + --pkgname "$pkgname" \ + --name="PyMOL Molecular Graphics System" \ + --pkgdesc "$pkgdesc" \ + --exec="$pkgname %F" \ + --mimetypes="chemical/x-pdb;chemical/pdby;chemical/x-mol2;chemical/x-mdl-molfile;chemical/x-mdl-sdfile;chemical/x-xyz;chemical/x-macromodel-input;chemical/x-vmd" \ + --categories="Science;Chemistry" + cd "$_archive" + # suppress non-zero exit code that breaks makepkg + sed -i -e '/sys.exit/ s,2,0,' setup.py + # setup script PEP 517 compatiblitiy is broken + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + sed -i -E '/def (finalize_options|make_launch_script)/a \ self.install_libbase="'$site_packages'"' setup.py +} + +build() { + cd "$_archive" + python -m build -wn +} + +package() { + install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop" + install -Dm0644 -t "$pkgdir/usr/share/pixmaps/" "$pkgname.png" + cd "$_archive" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +}