[arch-commits] Commit in scons/repos/extra-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Aug 9 05:18:20 UTC 2019


    Date: Friday, August 9, 2019 @ 05:18:20
  Author: dvzrv
Revision: 359361

archrelease: copy trunk to extra-any

Added:
  scons/repos/extra-any/PKGBUILD
    (from rev 359360, scons/trunk/PKGBUILD)
Deleted:
  scons/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  154 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-09 05:18:15 UTC (rev 359360)
+++ PKGBUILD	2019-08-09 05:18:20 UTC (rev 359361)
@@ -1,77 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Lukas Sabota <punkrockguy318 at comcast.net>
-# Contributor: Brice Carpentier <brice at dlfp.org>
-
-pkgname=scons
-pkgver=3.1.0
-pkgrel=2
-pkgdesc="Extensible Python-based build utility"
-arch=('any')
-url="https://scons.org"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-# potential additions include ipkg, rpm
-checkdepends=('clang' 'dmd' 'gdc' 'ldc' 'nasm' 'python-lxml' 'python-pytest'
-'python-virtualenv' 'swig' 'zip')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('3894d17bca02b9aa5426c70d894b8ecfcf3db2b20254b848209c31d8413a8cd1c2a7b2a87ef9bcfe5555980beb2815f62cdbe185098a64ae8b3506c41c867463')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # emulate a release
-  local _copyright='Copyright (c) 2001 - 2019 The SCons Foundation'
-  local _date_of_release="$(grep "RELEASE ${pkgver}" src/CHANGES.txt | cut -d ',' -f2)"
-  local _date="$(date -d "${_date_of_release}" +'%Y-%m-%d %H:%M:%S')"
-  # copy scripts to correct locations and change their globals
-  for _script in scons{,ign,-time,-configure-cache}; do
-    cp -v "src/script/${_script}.py" "src/script/${_script}"
-    sed -e "s|__COPYRIGHT__|${_copyright}|g" \
-        -e "s|__FILE__|/src/script/${_script}|g" \
-        -e 's/__REVISION__/none/g' \
-        -e "s|__DATE__|${_date}|g" \
-        -e 's/__BUILDSYS__/none/g' \
-        -e 's/__DEVELOPER__/none/g' \
-        -e "s/__VERSION__/${pkgver}/g" \
-        -i "src/script/${_script}"
-  done
-  sed -e "s|__COPYRIGHT__|${_copyright}|g" \
-      -e 's|__FILE__|/src/setup.py|g' \
-      -e 's/__REVISION__/none/g' \
-      -e "s|__DATE__|${_date}|g" \
-      -e 's/__BUILDSYS__/none/g' \
-      -e 's/__DEVELOPER__/none/g' \
-      -e "s/__VERSION__/${pkgver}/g" \
-      -i "src/setup.py"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  # build man page and move to src directory
-  python bootstrap.py doc/SConscript
-  mv -v build/doc/man/* src/
-  cd src
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  python runtest.py -a -t || msg "Tests passing with 'NO RESULT' count as failed."
-}
-
-package() {
-  cd "${pkgname}-${pkgver}/src"
-  python setup.py install --prefix=/usr \
-                          --skip-build \
-                          --optimize=1 \
-                          --standard-lib \
-                          --install-data=/usr/share \
-                          --root="$pkgdir"
-  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-  install -vDm 644 {CHANGES,README,RELEASE}.txt \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  # removing Windows only script
-  rm -vf "${pkgdir}/usr/bin/scons"*.bat
-}

Copied: scons/repos/extra-any/PKGBUILD (from rev 359360, scons/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-09 05:18:20 UTC (rev 359361)
@@ -0,0 +1,77 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Lukas Sabota <punkrockguy318 at comcast.net>
+# Contributor: Brice Carpentier <brice at dlfp.org>
+
+pkgname=scons
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Extensible Python-based build utility"
+arch=('any')
+url="https://scons.org"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+# potential additions include ipkg, rpm
+checkdepends=('clang' 'gdc' 'dmd' 'ldc' 'lib32-glibc' 'nasm' 'python-lxml'
+'python-pytest' 'python-virtualenv' 'swig' 'zip')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('3347a7ec5c6c7b596c0d51bb4a9654b971734736febe3834df0f40e7839e1f0578dafeae838d5ddd9f3319ac3d17b6790666fa1602c30480eba25122355179a5')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # emulate a release
+  local _copyright='Copyright (c) 2001 - 2019 The SCons Foundation'
+  local _date_of_release="$(grep "RELEASE ${pkgver}" src/CHANGES.txt | cut -d ',' -f2)"
+  local _date="$(date -d "${_date_of_release}" +'%Y-%m-%d %H:%M:%S')"
+  # copy scripts to correct locations and change their globals
+  for _script in scons{,ign,-time,-configure-cache}; do
+    cp -v "src/script/${_script}.py" "src/script/${_script}"
+    sed -e "s|__COPYRIGHT__|${_copyright}|g" \
+        -e "s|__FILE__|/src/script/${_script}|g" \
+        -e 's/__REVISION__/none/g' \
+        -e "s|__DATE__|${_date}|g" \
+        -e 's/__BUILDSYS__/none/g' \
+        -e 's/__DEVELOPER__/none/g' \
+        -e "s/__VERSION__/${pkgver}/g" \
+        -i "src/script/${_script}"
+  done
+  sed -e "s|__COPYRIGHT__|${_copyright}|g" \
+      -e 's|__FILE__|/src/setup.py|g' \
+      -e 's/__REVISION__/none/g' \
+      -e "s|__DATE__|${_date}|g" \
+      -e 's/__BUILDSYS__/none/g' \
+      -e 's/__DEVELOPER__/none/g' \
+      -e "s/__VERSION__/${pkgver}/g" \
+      -i "src/setup.py"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # build man page and move to src directory
+  python bootstrap.py doc/SConscript
+  mv -v build/doc/man/* src/
+  cd src
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  python runtest.py -a -t || msg "Tests passing with 'NO RESULT' count as failed."
+}
+
+package() {
+  cd "${pkgname}-${pkgver}/src"
+  python setup.py install --prefix=/usr \
+                          --skip-build \
+                          --optimize=1 \
+                          --standard-lib \
+                          --install-data=/usr/share \
+                          --root="$pkgdir"
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -vDm 644 {CHANGES,README,RELEASE}.txt \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # removing Windows only script
+  rm -vf "${pkgdir}/usr/bin/scons"*.bat
+}


More information about the arch-commits mailing list