[arch-commits] Commit in foxdot/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jul 1 07:17:46 UTC 2020


    Date: Wednesday, July 1, 2020 @ 07:17:46
  Author: dvzrv
Revision: 657246

archrelease: copy trunk to community-any

Added:
  foxdot/repos/community-any/PKGBUILD
    (from rev 657245, foxdot/trunk/PKGBUILD)
Deleted:
  foxdot/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 07:17:40 UTC (rev 657245)
+++ PKGBUILD	2020-07-01 07:17:46 UTC (rev 657246)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=FoxDot
-pkgname=foxdot
-pkgver=0.8.9
-pkgrel=1
-pkgdesc="Live Coding with Python"
-arch=('any')
-url="https://foxdot.org"
-license=('CCPL')
-groups=('pro-audio')
-depends=('python' 'supercollider' 'tk')
-makedepends=('gendesk' 'imagemagick' 'python-setuptools')
-checkdepends=('python-pytest')
-optdepends=('sc3-plugins: use additional UGens')
-# pypi sdist doesn't contain tests: https://github.com/Qirky/FoxDot/issues/188
-# source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${_name}-${pkgver}.tar.gz")
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Qirky/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('5cf22a518cddfbfab0476c94c2ccb71d529674da495a0a6dc5c997ca91953dbe7232deb0da47512494dc4047fe1b0e0443e90497d44fb30f8e392c3f498aebdd')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  gendesk -n \
-          --pkgname "${pkgname}" \
-          --name "${_name}" \
-          --exec "${_name}" \
-          --genericname "Live Coding Editor" \
-          --categories "AudioVideo;Audio" \
-          --comment "Live Coding with Python and SuperCollider"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  py.test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --prefix=/usr \
-                          --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}" \
-                          --verbose
-  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
-  install -dm755 "${pkgdir}/usr/share/pixmaps"
-  convert FoxDot/lib/Workspace/img/icon.gif "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 {README.md,changelog} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: foxdot/repos/community-any/PKGBUILD (from rev 657245, foxdot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-01 07:17:46 UTC (rev 657246)
@@ -0,0 +1,56 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=FoxDot
+pkgname=foxdot
+pkgver=0.8.11
+pkgrel=1
+pkgdesc="Live Coding with Python"
+arch=('any')
+url="https://foxdot.org"
+license=('CCPL')
+groups=('pro-audio')
+depends=('python' 'supercollider' 'tk')
+makedepends=('gendesk' 'imagemagick' 'python-setuptools')
+checkdepends=('python-pytest')
+optdepends=('sc3-plugins: use additional UGens')
+# pypi sdist doesn't contain tests: https://github.com/Qirky/FoxDot/issues/188
+# source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${_name}-${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Qirky/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('4f1bea5839ac14509dccad395054325f6fce0354ff012d9948800f4cddd08f5d4da29cfc009de42c785d7969fbda215530e9fba3c41d80d68c042d6daf6baa4d')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  gendesk -n \
+          --pkgname "${pkgname}" \
+          --name "${_name}" \
+          --exec "${_name}" \
+          --genericname "Live Coding Editor" \
+          --categories "AudioVideo;Audio" \
+          --comment "Live Coding with Python and SuperCollider"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+  convert -verbose FoxDot/lib/Workspace/img/icon.gif "${pkgname}.png"
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --prefix=/usr \
+                          --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}" \
+                          --verbose
+  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
+  install -vDm 644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {README.md,changelog} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list