[rkward-cvs] [rkward] macports: started adjusting the portfiles for MacPorts to respect the move from svn to git

m.eik michalke meik.michalke at uni-duesseldorf.de
Wed Jan 28 15:25:07 UTC 2015


Git commit 5ffdd72475caec5bee1a4197af8a78dd97e2885b by m.eik michalke.
Committed on 28/01/2015 at 15:24.
Pushed by meikm into branch 'master'.

started adjusting the portfiles for MacPorts to respect the move from svn to git

M  +5    -5    macports/kde/rkward-devel/Portfile
M  +6    -2    macports/kde/rkward/Portfile
M  +5    -2    macports/update_bundle.sh

http://commits.kde.org/rkward/5ffdd72475caec5bee1a4197af8a78dd97e2885b

diff --git a/macports/kde/rkward-devel/Portfile b/macports/kde/rkward-devel/Portfile
index 1cbde7f..81e7443 100644
--- a/macports/kde/rkward-devel/Portfile
+++ b/macports/kde/rkward-devel/Portfile
@@ -3,12 +3,12 @@
 
 PortSystem          1.0
 PortGroup           kde4 1.1
-fetch.type          svn
+fetch.type          git
 name                rkward-devel
-version             0.6.2-svn
-svn.url             http://svn.code.sf.net/p/rkward/code/trunk
+version             0.6.3-git
+git.url             http://anongit.kde.org/rkward.git
 #svn.revision        4494
-worksrcdir          trunk/rkward
+worksrcdir          rkward
 
 conflicts           rkward
 categories          kde kde4 math science
@@ -22,7 +22,7 @@ long_description    RKWard aims to become an easy to use, transparent frontend t
                     for statistical computation and graphics. Besides a convenient GUI for the most important \
                     statistical functions, future versions will also provide seamless integration with an office-suite.
 
-homepage            http://rkward.kde.org
+homepage            https://rkward.kde.org
 
 depends_lib         port:kdelibs4 \
                     port:kate \
diff --git a/macports/kde/rkward/Portfile b/macports/kde/rkward/Portfile
index d88a53d..87d2a90 100644
--- a/macports/kde/rkward/Portfile
+++ b/macports/kde/rkward/Portfile
@@ -4,7 +4,7 @@
 PortSystem          1.0
 PortGroup           kde4 1.1
 name                rkward
-version             0.6.2
+version             0.6.3
 #patchfiles          patch-rkward-rbackend-rkstructuregetter.cpp.diff
 worksrcdir          ${name}-${version}
 
@@ -22,13 +22,15 @@ long_description    RKWard aims to become an easy to use, transparent frontend t
 
 homepage            http://rkward.kde.org
 
-master_sites        sourceforge:rkward
+# FIXME:
+master_sites        kde:rkward
 
 depends_lib         port:kdelibs4 \
                     port:kate \
                     port:okular \
                     port:R
 
+# FIXME:
 checksums           rmd160 a15116209a28676db4ce1bd1f9a4b31f5be345c8 \
                     sha256 3534e58a6246f2be18e6158cf486ecfef6531fee4f0060d7ea1955a823b5add6
 
@@ -52,7 +54,9 @@ configure.post_args ..
 build.dir           ${worksrcpath}/build
 
 livecheck.type      regex
+# FIXME:
 livecheck.url       http://sourceforge.net/projects/${name}/files/Current_Stable_Releases/
+# FIXME:
 livecheck.regex     "${name}-(\\d+\\.\\d+\\.\\d+)\\.tar"
 
 pre-pkg {
diff --git a/macports/update_bundle.sh b/macports/update_bundle.sh
index 62d059a..057126f 100755
--- a/macports/update_bundle.sh
+++ b/macports/update_bundle.sh
@@ -43,7 +43,8 @@ declare -a EXCLPKG=(audio_lame audio_libmodplug audio_libopus \
 # to see the dependency tree of ports, run
 # sudo port rdeps rkward-devel
 
-SVNREPO=http://svn.code.sf.net/p/rkward/code/trunk
+#SVNREPO=http://svn.code.sf.net/p/rkward/code/trunk
+GITREPO=http://anongit.kde.org/rkward.git
 OLDWD=$(pwd)
 
 if [[ $1 == "" ]] ; then
@@ -231,7 +232,9 @@ if [[ $COPYMDMD ]] ; then
   # get version information of installed ports
   PORTVERS=$(port list $PTARGET | sed -e "s/.*@//;s/[[:space:]].*//")
   if [[ $DEVEL ]] ; then
-    TARGETVERS=${PORTVERS}$(svn info "$SVNREPO" | grep "^Revision:" | sed "s/[^[:digit:]]*//")
+    # we moved to git
+    # TARGETVERS=${PORTVERS}$(svn info "$SVNREPO" | grep "^Revision:" | sed "s/[^[:digit:]]*//")
+    TARGETVERS=${PORTVERS}$(git ls-remote http://anongit.kde.org/rkward | grep HEAD$ | cut -c 1-7)
   else
     TARGETVERS=$PORTVERS
   fi


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rkward-cvs mailing list
rkward-cvs at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-cvs


More information about the rkward-tracker mailing list