diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-10-14 19:08:00 +0000 |
---|---|---|
committer | Aisha Tammy <gentoo@aisha.cc> | 2020-10-14 22:31:51 +0000 |
commit | 3c9e6683008a4a3da0b85e9f1ef10d6975c226c2 (patch) | |
tree | 335a501c1e35db267a9a23702b8719ce7be59ea1 /dev-lang | |
parent | sci-libs/itk: PYTHON_COMPAT update (diff) | |
download | sci-3c9e6683008a4a3da0b85e9f1ef10d6975c226c2.tar.gz sci-3c9e6683008a4a3da0b85e9f1ef10d6975c226c2.tar.bz2 sci-3c9e6683008a4a3da0b85e9f1ef10d6975c226c2.zip |
dev-lang/berkeley_upc_translator: version bump to 2.28.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'dev-lang')
5 files changed, 126 insertions, 33 deletions
diff --git a/dev-lang/berkeley_upc_translator/Manifest b/dev-lang/berkeley_upc_translator/Manifest index f0f254023..07403e8cd 100644 --- a/dev-lang/berkeley_upc_translator/Manifest +++ b/dev-lang/berkeley_upc_translator/Manifest @@ -1,3 +1,3 @@ DIST berkeley_upc_translator-2.16.2.tar.gz 7257272 BLAKE2B 51fdb47ba3b5d7d203dc1cc0f52df80efff468e04445fe10bb70d7671861f0e3ae3a1ca5e94929ded6b543e59cf0a0cafdbf31913cf3ccf52c6ee159917ef0a5 SHA512 e7bef6697f434d8ed0d7492d1bfc222884ba46aa96f6981949e505e0407feff738bebbbcc00cb74e0690b3b0a91700c6e530aff362d9085023e7cc2e163bb4ba -DIST berkeley_upc_translator-2.18.0.tar.gz 7257554 BLAKE2B d234361bd5a203d8a42b6d7f8139f43c0463f153a1a619b1f50a47c7b97a37c7dfa2414488cc211c0548e98f1576599d5bb0d724fa567921ca2f40774f18defb SHA512 b9f679a1aae528e22854ddf61b84d76151d25cbafb44ba743cf01e7337f28de1a91010bbd3e3c574cfed9fa5445f2f03b1be8f0b2c59db637190afe1dacc8178 DIST berkeley_upc_translator-2.18.2.tar.gz 7259552 BLAKE2B 3f20f21eb19be2bc5850c26d146ee3bd34c62d4b598833eeda16d0f4e7ebef17484b56bbbf004e5170afc1e9ef9b4e3bbb929254a90820a646576d95bf00530d SHA512 ec2f306c2690a5e28747b4dfe2f360e89e539e1d7d645a218bff16f6ea5de1965e52891ab5aba4c9da591ea378466c618a2c9917de93a99980285f8bc0df589d +DIST berkeley_upc_translator-2.28.0.tar.gz 7285823 BLAKE2B f745a573b4a92be99e72b98747b1c4a3fddeffbc7e4cf6c4b2873777b544eccda2863d75bd678be92156d21f04634374fe6f806b90885afe226944015059433e SHA512 a77d86db8e5e96d0117fdbe08b436d7796f35c7e88f6bd09d22d4e4672e5ce456d3f21ecd7a5a14a3b15d95663fbd5fdbcbc4e5d7076545dcb75d91c610f856c diff --git a/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.18.0.ebuild b/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.18.0.ebuild deleted file mode 100644 index 35166f22c..000000000 --- a/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.18.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="The Berkeley UPC-to-C translator" -HOMEPAGE="http://upc.lbl.gov/" -SRC_URI="http://upc.lbl.gov/download/release/${P}.tar.gz" -LICENSE="BSD-4" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="app-shells/tcsh" -RDEPEND="dev-lang/berkeley_upc" - -src_prepare() { - epatch "$FILESDIR/${PN}-2.16.2-check-abi.patch" -} - -src_compile() { - emake -j1 -} - -src_install() { - emake install PREFIX="${D}/usr/libexec/${P}" -} diff --git a/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.0.ebuild b/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.0.ebuild new file mode 100644 index 000000000..71d14400a --- /dev/null +++ b/dev-lang/berkeley_upc_translator/berkeley_upc_translator-2.28.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="The Berkeley UPC-to-C translator" +HOMEPAGE="https://upc.lbl.gov/" +SRC_URI="https://upc.lbl.gov/download/release/${P}.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + app-shells/tcsh + sys-devel/bison +" + +PATCHES=( "${FILESDIR}"/${PN}-2.28.0-makefile.patch ) + +src_prepare() { + default + + # makefiles unset CFLAGS and CXXFLAGS + export CXX="$(tc-getCXX) -std=gnu++98 " + tc-export CC + + export BUPC_ABI="${BUPC_ABI:-LP64}" \ + BUPC_BUILDDIR="${BUPC_BUILDDIR:-build_ia64}" +} + +src_configure() { + # their configure is broken + # patch should be enough to counter most + return +} + +src_compile() { + ABI="${BUPC_ABI}" BUILDDIR="${BUPC_BUILDDIR}" \ + emake -j1 all +} + +src_install() { + ABI="${BUPC_ABI}" BUILDDIR="${BUPC_BUILDDIR}" \ + PREFIX="${ED}/usr/libexec/${P}/" \ + emake -j1 install +} diff --git a/dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.28.0-makefile.patch b/dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.28.0-makefile.patch new file mode 100644 index 000000000..19242753f --- /dev/null +++ b/dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.28.0-makefile.patch @@ -0,0 +1,70 @@ +diff --git a/Makefile b/Makefile +index 551228d..b494da7 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,51 +1,27 @@ +-# C and C++ compilers to use for building the translator +-CC = gcc +-CXX = g++ +- +-# Default location for installation +-PREFIX = /usr/local/bupc_translator +- +-# override default build directory (empty for auto-detect) +-BUILDDIR= +- + # override if your version of copy doesn't like these flags + CPYDIR = cp -R -p + + # override if your filesystem has course-grained utimes + TOUCHDELAY = 2 + +-# include overrides from configure, if any +--include Makefile.local +- + #------------------------------------------------------- + # You should not need to modify anything below this line + + all clean install update-nodist-list: +- @echo "------------------------------------------------------------" ; \ +- if test "$(BUILDDIR)" ; then \ +- echo "WARNING: forcing BUILDDIR=$(BUILDDIR)"; \ +- builddir="$(BUILDDIR)" ; \ +- else \ +- CC="$(CC)"; export CC; \ +- CXX="$(CXX)"; export CXX; \ +- builddir=`config-aux/config-builddir` ; \ +- fi ; \ +- if test "$$builddir" ; then \ +- echo "Making $@ in BUILDDIR=$$builddir" ; \ +- echo " $(CC) is: `$(CC) --version 2>&1 | head -1`" ; \ +- echo " $(CXX) is: `$(CXX) --version 2>&1 | head -1`" ; \ +- echo " $(MAKE) is: `$(MAKE) --version 2>&1 | head -1`" ; \ +- echo "------------------------------------------------------------" ; \ +- if test "$$builddir" = "targ_ilp32_osx" -o "$$builddir" = "targ_lp64_osx"; then \ +- strip=NOSTRIP=1 ; export strip ; \ +- fi ; \ +- if test -n "$${CFLAGS+set}"; then \ +- echo "WARNING: unsetting CFLAGS" ; \ +- unset CFLAGS ; \ +- fi ; \ +- $(MAKE) BUILDDIR="$$builddir" $$strip $@-internal ; \ +- else \ +- exit 1; \ ++ @echo "------------------------------------------------------------" ; \ ++ if test -d "open64/osprey1.0/$(BUILDDIR)" ; then \ ++ echo "Making $@ in BUILDDIR=$(BUILDDIR)" ; \ ++ echo " $(CC) is: `$(CC) --version 2>&1 | head -1`" ; \ ++ echo " $(CXX) is: `$(CXX) --version 2>&1 | head -1`" ; \ ++ echo " $(MAKE) is: `$(MAKE) --version 2>&1 | head -1`" ; \ ++ echo "------------------------------------------------------------" ; \ ++ if test -n "$${CFLAGS+set}"; then \ ++ echo "WARNING: unsetting CFLAGS" ; \ ++ unset CFLAGS ; \ ++ fi ; \ ++ $(MAKE) BUILDDIR="$(BUILDDIR)" NOSTRIP=1 $@-internal ; \ ++ else \ ++ exit 1; \ + fi + + all-internal: diff --git a/dev-lang/berkeley_upc_translator/metadata.xml b/dev-lang/berkeley_upc_translator/metadata.xml index c8c5e0f03..e97c4322a 100644 --- a/dev-lang/berkeley_upc_translator/metadata.xml +++ b/dev-lang/berkeley_upc_translator/metadata.xml @@ -2,7 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>jauhien@gentoo.org</email> - <name>Jauhien Piatlicki</name> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> </maintainer> </pkgmetadata> |