[arch-commits] Commit in swig3/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Sun Mar 8 23:07:26 UTC 2020


    Date: Sunday, March 8, 2020 @ 23:07:25
  Author: felixonmars
Revision: 592668

archrelease: copy trunk to community-x86_64

Added:
  swig3/repos/community-x86_64/PKGBUILD
    (from rev 592666, swig3/trunk/PKGBUILD)
  swig3/repos/community-x86_64/ruby27.patch
    (from rev 592666, swig3/trunk/ruby27.patch)
Deleted:
  swig3/repos/community-x86_64/PKGBUILD
  swig3/repos/community-x86_64/ruby27.patch

--------------+
 PKGBUILD     |   84 ++++++++++++++++++++++++++++-----------------------------
 ruby27.patch |   26 ++++++++---------
 2 files changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 23:07:23 UTC (rev 592667)
+++ PKGBUILD	2020-03-08 23:07:25 UTC (rev 592668)
@@ -1,42 +0,0 @@
-# Maintainer: Michael Hansen <zrax0111 gmail com>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=swig3
-_pkgname=swig
-pkgver=3.0.12
-pkgrel=3
-pkgdesc="Generate scripting interfaces to C/C++ code (Legacy 3.x version)"
-arch=('x86_64')
-url="http://www.swig.org/"
-license=('custom')
-depends=('pcre' 'gcc-libs')
-checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go' 'python2-cffi' 'camlp4')
-source=(https://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
-        ruby27.patch)
-sha1sums=('5cc1af41d041e4cc609580b99bb3dcf720effa25'
-          'b3f83ef6237ebeefaddb3366ea4d56ab1e5d37e6')
-
-prepare() {
-  cd ${_pkgname}-${pkgver}
-  patch -p1 < ../ruby27.patch # https://github.com/swig/swig/issues/1689
-}
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  ./configure --prefix=/usr --program-suffix="-3"
-  make
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  make check || warning "Tests failed"
-}
-
-package() {
-  cd ${_pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-  install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES
-}

Copied: swig3/repos/community-x86_64/PKGBUILD (from rev 592666, swig3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 23:07:25 UTC (rev 592668)
@@ -0,0 +1,42 @@
+# Maintainer: Michael Hansen <zrax0111 gmail com>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=swig3
+_pkgname=swig
+pkgver=3.0.12
+pkgrel=4
+pkgdesc="Generate scripting interfaces to C/C++ code (Legacy 3.x version)"
+arch=('x86_64')
+url="http://www.swig.org/"
+license=('custom')
+depends=('pcre' 'gcc-libs')
+checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go' 'python2-cffi' 'camlp4')
+source=(https://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
+        ruby27.patch)
+sha1sums=('5cc1af41d041e4cc609580b99bb3dcf720effa25'
+          'b3f83ef6237ebeefaddb3366ea4d56ab1e5d37e6')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  patch -p1 < ../ruby27.patch # https://github.com/swig/swig/issues/1689
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  ./configure --prefix=/usr --program-suffix="-3"
+  make
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  make check || warning "Tests failed"
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES
+}

Deleted: ruby27.patch
===================================================================
--- ruby27.patch	2020-03-08 23:07:23 UTC (rev 592667)
+++ ruby27.patch	2020-03-08 23:07:25 UTC (rev 592668)
@@ -1,13 +0,0 @@
-diff --git a/Lib/ruby/rubytracking.swg b/Lib/ruby/rubytracking.swg
-index b9fb249d8..8f45ef88b 100644
---- a/Lib/ruby/rubytracking.swg
-+++ b/Lib/ruby/rubytracking.swg
-@@ -69,7 +69,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
-     swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
-   }
- 
--  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
-+  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", (rb_gvar_getter_t *)swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
- }
- 
- /* Add a Tracking from a C/C++ struct to a Ruby object */

Copied: swig3/repos/community-x86_64/ruby27.patch (from rev 592666, swig3/trunk/ruby27.patch)
===================================================================
--- ruby27.patch	                        (rev 0)
+++ ruby27.patch	2020-03-08 23:07:25 UTC (rev 592668)
@@ -0,0 +1,13 @@
+diff --git a/Lib/ruby/rubytracking.swg b/Lib/ruby/rubytracking.swg
+index b9fb249d8..8f45ef88b 100644
+--- a/Lib/ruby/rubytracking.swg
++++ b/Lib/ruby/rubytracking.swg
+@@ -69,7 +69,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
+     swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
+   }
+ 
+-  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
++  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", (rb_gvar_getter_t *)swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
+ }
+ 
+ /* Add a Tracking from a C/C++ struct to a Ruby object */



More information about the arch-commits mailing list