[arch-commits] Commit in pymol/repos (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jul 23 19:10:54 UTC 2021


    Date: Friday, July 23, 2021 @ 19:10:54
  Author: arojas
Revision: 984791

archrelease: copy trunk to community-staging-x86_64

Added:
  pymol/repos/community-staging-x86_64/
  pymol/repos/community-staging-x86_64/ChangeLog
    (from rev 984790, pymol/trunk/ChangeLog)
  pymol/repos/community-staging-x86_64/PKGBUILD
    (from rev 984790, pymol/trunk/PKGBUILD)

-----------+
 ChangeLog |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD  |   44 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

Copied: pymol/repos/community-staging-x86_64/ChangeLog (from rev 984790, pymol/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2021-07-23 19:10:54 UTC (rev 984791)
@@ -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

Copied: pymol/repos/community-staging-x86_64/PKGBUILD (from rev 984790, pymol/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-07-23 19:10:54 UTC (rev 984791)
@@ -0,0 +1,44 @@
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: graysky
+# Contributor: Tomasz Żok <tomasz dot zok at gmail dot com>
+
+pkgname=pymol
+pkgver=2.5.0
+pkgrel=1
+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' 'libmmtf' 'msgpack-c')
+optdepends=('python-pyqt5: Qt5 based UI')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/schrodinger/pymol-open-source/archive/v${pkgver}.tar.gz"
+        ${pkgname}.png::"https://c.fsdn.com/allura/p/pymol/icon")
+sha512sums=('19f21b8f735fda5314abf202d56f3c81c7251bf6ef0df73ccee534d9c08035f4ef6155ffb68e09d7717a0fb5ba7289bbfa440691bea4cec0de7199c9e858ea91'
+            '39917c1dc80cd6a59e8f6b3ea49a59491eaf23d14e32ac264f6d71f33007f686deb6a66e50e7f20ef9df5337038e3572b018633c361460d5ee0c1d8f0a8259d1')
+changelog=ChangeLog
+
+prepare() {
+  # create desktop file
+  gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" \
+          --name="PyMOL Molecular Graphics System" \
+          --categories="Science;Chemistry"
+
+  # suppress non-zero exit code that breaks makepkg
+  sed -i '/sys.exit/ s,2,0,' "${srcdir}/${pkgname}-open-source-${pkgver}/setup.py"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-open-source-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-open-source-${pkgver}"
+  python setup.py install --prefix=/usr --root="${pkgdir}"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 "${srcdir}/pymol.desktop" "${pkgdir}/usr/share/applications/pymol.desktop"
+  install -Dm644 "${srcdir}/pymol.png" "${pkgdir}/usr/share/pixmaps/pymol.png"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list