Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 10:45:16 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488594 - in head/lang/julia: . files
Message-ID:  <201812281045.wBSAjG9f069937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Fri Dec 28 10:45:16 2018
New Revision: 488594
URL: https://svnweb.freebsd.org/changeset/ports/488594

Log:
  Update to 1.0.3
  
  Changelog: https://github.com/JuliaLang/julia/releases/tag/v1.0.3
  
  PR:		234266
  Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
  MFH:		2018Q4
  Sponsored by:	Netzkommune GmbH

Modified:
  head/lang/julia/Makefile
  head/lang/julia/distinfo
  head/lang/julia/files/patch-Makefile
  head/lang/julia/files/patch-stdlib_Makefile

Modified: head/lang/julia/Makefile
==============================================================================
--- head/lang/julia/Makefile	Fri Dec 28 10:43:39 2018	(r488593)
+++ head/lang/julia/Makefile	Fri Dec 28 10:45:16 2018	(r488594)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	julia
-PORTVERSION=	1.0.2
-PORTREVISION=	1
+PORTVERSION=	1.0.3
 DISTVERSIONSUFFIX=	-full
 CATEGORIES=	lang math
 MASTER_SITES=	https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
@@ -32,7 +31,7 @@ BUILD_DEPENDS=	patchelf:sysutils/patchelf \
 USES=		gmake compiler:c++11-lib fortran python:2.7,build perl5
 USE_LDCONFIG=	yes
 
-WRKSRC=	${WRKDIR}/${PORTNAME}
+WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 ALL_TARGET=	default
 INSTALL_TARGET=	install

Modified: head/lang/julia/distinfo
==============================================================================
--- head/lang/julia/distinfo	Fri Dec 28 10:43:39 2018	(r488593)
+++ head/lang/julia/distinfo	Fri Dec 28 10:45:16 2018	(r488594)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541862400
-SHA256 (julia-1.0.2-full.tar.gz) = 74c850516b293029fcefb1114145c424cab64e1d2f87264350d88a237f5f8bc5
-SIZE (julia-1.0.2-full.tar.gz) = 95704004
+TIMESTAMP = 1545107140
+SHA256 (julia-1.0.3-full.tar.gz) = 618e6d29f1fba00f5b2bebf14e69a3a536c27c3132e021cf39774e8500dd29fa
+SIZE (julia-1.0.3-full.tar.gz) = 95732731

Modified: head/lang/julia/files/patch-Makefile
==============================================================================
--- head/lang/julia/files/patch-Makefile	Fri Dec 28 10:43:39 2018	(r488593)
+++ head/lang/julia/files/patch-Makefile	Fri Dec 28 10:45:16 2018	(r488594)
@@ -1,6 +1,6 @@
---- Makefile.orig	2018-08-02 19:21:47 UTC
+--- Makefile.orig	2018-12-18 01:38:57 UTC
 +++ Makefile
-@@ -266,24 +266,6 @@ endif
+@@ -264,24 +264,6 @@ endif
  endif
  endif
  
@@ -25,17 +25,17 @@
  ifeq ($(OS),WINNT)
  define std_dll
  julia-deps: | $$(build_bindir)/lib$(1).dll $$(build_depsbindir)/lib$(1).dll
-@@ -316,8 +298,7 @@ define stringreplace
- 	$(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)"
- endef
+@@ -328,8 +310,7 @@ JL_PRIVATE_LIBS-0 += libgfortran libgcc_s libquadmath
+ endif
  
+ 
 -install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html
 -	@$(MAKE) $(QUIET_MAKE) all
 +install: $(build_depsbindir)/stringreplace
  	@for subdir in $(bindir) $(datarootdir)/julia/stdlib/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \
  		mkdir -p $(DESTDIR)$$subdir; \
  	done
-@@ -359,10 +340,6 @@ endif
+@@ -371,10 +352,6 @@ endif
  			fi \
  		done \
  	done
@@ -46,7 +46,7 @@
  endif
  
  	# Copy public headers
-@@ -376,24 +353,11 @@ endif
+@@ -389,8 +366,6 @@ endif
  	$(INSTALL_M) $(JULIAHOME)/contrib/build_sysimg.jl $(DESTDIR)$(datarootdir)/julia/
  	# Copy in all .jl sources as well
  	cp -R -L $(build_datarootdir)/julia $(DESTDIR)$(datarootdir)/
@@ -55,6 +55,8 @@
  	# Remove various files which should not be installed
  	-rm -f $(DESTDIR)$(datarootdir)/julia/base/version_git.sh
  	-rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile
+@@ -400,16 +375,6 @@ endif
+ 	-rm -f $(DESTDIR)$(datarootdir)/julia/stdlib/$(VERSDIR)/*/build-checked
  	# Copy in beautiful new man page
  	$(INSTALL_F) $(build_man1dir)/julia.1 $(DESTDIR)$(man1dir)/
 -	# Copy icon and .desktop file
@@ -67,11 +69,10 @@
 -	# Install appdata file
 -	mkdir -p $(DESTDIR)$(datarootdir)/appdata/
 -	$(INSTALL_F) $(JULIAHOME)/contrib/julia.appdata.xml $(DESTDIR)$(datarootdir)/appdata/
--
+ 
  	# Update RPATH entries and JL_SYSTEM_IMAGE_PATH if $(private_libdir_rel) != $(build_private_libdir_rel)
  ifneq ($(private_libdir_rel),$(build_private_libdir_rel))
- ifeq ($(OS), Darwin)
-@@ -403,7 +367,7 @@ ifeq ($(OS), Darwin)
+@@ -420,7 +385,7 @@ ifeq ($(OS), Darwin)
  	done
  else ifneq (,$(findstring $(OS),Linux FreeBSD))
  	for j in $(JL_TARGETS) ; do \
@@ -80,7 +81,7 @@
  	done
  endif
  
-@@ -414,22 +378,24 @@ ifeq ($(BUNDLE_DEBUG_LIBS),1)
+@@ -431,22 +396,24 @@ ifeq ($(BUNDLE_DEBUG_LIBS),1)
  endif
  
  endif
@@ -117,5 +118,5 @@
 +	mkdir -p $(DESTDIR)$(datarootdir)/appdata/
 +	$(INSTALL_F) $(JULIAHOME)/contrib/julia.appdata.xml $(DESTDIR)$(datarootdir)/appdata/
  
- distclean dist-clean:
+ distclean:
  	-rm -fr $(BUILDROOT)/julia-*.tar.gz $(BUILDROOT)/julia*.exe $(BUILDROOT)/julia-*.7z $(BUILDROOT)/julia-$(JULIA_COMMIT)

Modified: head/lang/julia/files/patch-stdlib_Makefile
==============================================================================
--- head/lang/julia/files/patch-stdlib_Makefile	Fri Dec 28 10:43:39 2018	(r488593)
+++ head/lang/julia/files/patch-stdlib_Makefile	Fri Dec 28 10:45:16 2018	(r488594)
@@ -1,15 +1,19 @@
---- stdlib/Makefile.orig	2018-11-08 20:15:38 UTC
+--- stdlib/Makefile.orig	2018-12-16 21:26:52 UTC
 +++ stdlib/Makefile
-@@ -21,6 +21,12 @@ $(eval $(call git-external,Pkg,PKG,,,$(BUILDDIR)))
- extract-pkg: $(BUILDDIR)/$(PKG_SRC_DIR)/source-extracted
- Pkg: $(BUILDDIR)/$(PKG_SRC_DIR)/source-extracted
- 	rm -rf $@
+@@ -25,8 +25,15 @@ PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
+ PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
+ $(eval $(call git-external,Pkg,PKG,,,$(BUILDDIR)))
+ $(BUILDDIR)/$(PKG_SRC_DIR)/build-compiled: $(BUILDDIR)/$(PKG_SRC_DIR)/source-extracted
+-	@# no build steps
++	rm $(BUILDDIR)/$(PKG_SRC_DIR)/.gitignore
 +	rm $(BUILDDIR)/$(PKG_SRC_DIR)/.codecov.yml
 +	rm $(BUILDDIR)/$(PKG_SRC_DIR)/.travis.yml
 +	rm $(BUILDDIR)/$(PKG_SRC_DIR)/appveyor.yml
 +	rm $(BUILDDIR)/$(PKG_SRC_DIR)/ext/TOML/.travis.yml
 +	rm $(BUILDDIR)/$(PKG_SRC_DIR)/ext/TOML/appveyor.yml
 +	rm $(BUILDDIR)/$(PKG_SRC_DIR)/source-extracted
- 	cp -r $(BUILDDIR)/$(PKG_SRC_DIR) $@
- get-pkg: Pkg
- clean-pkg:
+ 	echo 1 > $@
++
+ $(eval $(call symlink_install,Pkg,$$(PKG_SRC_DIR),$$(build_datarootdir)/julia/stdlib/$$(VERSDIR)))
+ clean-Pkg:
+ 	-rm $(BUILDDIR)/$(PKG_SRC_DIR)/build-compiled



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812281045.wBSAjG9f069937>