[gentoo-commits] dev/mrueg:master commit in: sci-mathematics/calc/
commit: cfa395c0ea37bcf3537affe596fe274109da56f2 Author: Manuel Rüger gentoo org> AuthorDate: Wed Feb 24 21:27:52 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Feb 24 21:27:52 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=cfa395c0 sci-mathematics/calc: Version bump, remove old Package-Manager: portage-2.2.27 sci-mathematics/calc/Manifest | 2 +- sci-mathematics/calc/{calc-2.12.5.3.ebuild => calc-2.12.5.4.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/calc/Manifest b/sci-mathematics/calc/Manifest index acc97e9..3c59771 100644 --- a/sci-mathematics/calc/Manifest +++ b/sci-mathematics/calc/Manifest @@ -1 +1 @@ -DIST calc-2.12.5.3.tar.bz2 956025 SHA256 0fcf60917efb10aab145f1180c278a3ab63d789aad6d5e5f066a4458b5f9b692 SHA512 5f05f9710d5ad1a89212a4f0e36adeeb766ee317a3db70ae31fa1d555de8e4ecc61c4afe8a62c3a18d899073376e3f88fdd9c03ea6a5ada83a692583b205d8ba WHIRLPOOL 56159900928409555f9429846d3d879ee828fc4d8fb82cf1c57b4d9785cef6f379c296edcfad7632823098dbff64ba766b3981ec53b54955c7637d28e1c8e320 +DIST calc-2.12.5.4.tar.bz2 956258 SHA256 a776121efe49f3230a293e28682e52ff6d5f2f1896d3a9b474a51de8c890919e SHA512 07c89059d4718b29e649a5198e0bb6c6a6d9c6705a0050ad744146f1649c65d0fb1277a68eb45daca907b08ef9336de2002808a5f9b2312e413eb3afb74d491f WHIRLPOOL 210f259749c7ea5427b7c3698d17cb9af72243e39cde54d1371f246d96a9f9e360f645e8f0ce64514e92275a17756cf57c4757410bd7db192f0767f48676abfd diff --git a/sci-mathematics/calc/calc-2.12.5.3.ebuild b/sci-mathematics/calc/calc-2.12.5.4.ebuild similarity index 100% rename from sci-mathematics/calc/calc-2.12.5.3.ebuild rename to sci-mathematics/calc/calc-2.12.5.4.ebuild
[gentoo-commits] dev/mrueg:master commit in: sci-mathematics/calc/
commit: 6c9859468717072af88fb78e6e9aafaeebec0166 Author: Manuel Rüger gentoo org> AuthorDate: Thu Feb 11 00:14:54 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Thu Feb 11 00:14:54 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=6c985946 sci-mathematics/calc: Remove old Package-Manager: portage-2.2.27 sci-mathematics/calc/Manifest | 1 - sci-mathematics/calc/calc-2.12.5.0.ebuild | 57 --- 2 files changed, 58 deletions(-) diff --git a/sci-mathematics/calc/Manifest b/sci-mathematics/calc/Manifest index 4f2ad38..acc97e9 100644 --- a/sci-mathematics/calc/Manifest +++ b/sci-mathematics/calc/Manifest @@ -1,2 +1 @@ -DIST calc-2.12.5.0.tar.bz2 955430 SHA256 a0e7b47af38330f188970998c8e5039134dadf6f2e3f2c00d7efdae272a4338d SHA512 8196c2a250807bb7aa819551fe374edd4d18e28f046627a9800ee7f13b3a4a8d8ed14619e3c1eef8144d80c3969f244e019ac8e6e4ea2d4eca44f16fd98040db WHIRLPOOL 5f307bfc62493172c627eaa4ec57c1d723091f89db822f1dcff38dbd4246b96369dc47be507e16ec9ae3f36d3fc84f6dfb0f41886dba402622017e8dc16051ac DIST calc-2.12.5.3.tar.bz2 956025 SHA256 0fcf60917efb10aab145f1180c278a3ab63d789aad6d5e5f066a4458b5f9b692 SHA512 5f05f9710d5ad1a89212a4f0e36adeeb766ee317a3db70ae31fa1d555de8e4ecc61c4afe8a62c3a18d899073376e3f88fdd9c03ea6a5ada83a692583b205d8ba WHIRLPOOL 56159900928409555f9429846d3d879ee828fc4d8fb82cf1c57b4d9785cef6f379c296edcfad7632823098dbff64ba766b3981ec53b54955c7637d28e1c8e320 diff --git a/sci-mathematics/calc/calc-2.12.5.0.ebuild b/sci-mathematics/calc/calc-2.12.5.0.ebuild deleted file mode 100644 index acf29dc..000 --- a/sci-mathematics/calc/calc-2.12.5.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Arbitrary precision C-like arithmetic system" -HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/"; -SRC_URI="http://www.isthe.com/chongo/src/calc/${P}.tar.bz2"; - -SLOT="0" -LICENSE="LGPL-2" -KEYWORDS="~amd64" - -IUSE="" - -DEPEND="sys-libs/ncurses - sys-libs/readline:0" -RDEPEND="${DEPEND}" - -src_prepare() { - # Rework patches before adding it to the main tree! - epatch "${FILESDIR}"/${P}-prefix.patch \ - "${FILESDIR}"/${P}-ldflags.patch - ln -sf libcustcalc.so.${PV} custom/libcustcalc.so - sed -i -e "/DIR/s:/usr:${EPREFIX}/usr:g" Makefile || die -} - -src_compile() { - # parallel compilation hard to fix. better to leave upstream. - emake -j1 \ - CC="$(tc-getCC)" \ - DEBUG="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CALCPAGER="${PAGER}" \ - USE_READLINE="-DUSE_READLINE" \ - READLINE_LIB="-lreadline -lhistory -lncurses -L\"${S}\"/custom -lcustcalc" \ - all -} - -src_test() { - if echo "${LD_PRELOAD}" | grep -q "sandbox"; then - ewarn "Can't run check when running in sandbox - see bug #59676" - else - emake chk - fi -} - -src_install() { - emake \ - T="${D}" \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - install - dodoc BUGS CHANGES LIBRARY README -}
[gentoo-commits] dev/mrueg:master commit in: sci-mathematics/calc/
commit: 60d0e8c0e0b2ebb079461f304d2509196332aeb9 Author: Manuel Rüger gentoo org> AuthorDate: Wed Feb 10 23:02:08 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Feb 10 23:02:08 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=60d0e8c0 sci-mathematics/calc: Version bump. Remove old Package-Manager: portage-2.2.27 sci-mathematics/calc/Manifest | 1 + sci-mathematics/calc/calc-2.12.5.3.ebuild | 57 +++ 2 files changed, 58 insertions(+) diff --git a/sci-mathematics/calc/Manifest b/sci-mathematics/calc/Manifest index a579147..4f2ad38 100644 --- a/sci-mathematics/calc/Manifest +++ b/sci-mathematics/calc/Manifest @@ -1 +1,2 @@ DIST calc-2.12.5.0.tar.bz2 955430 SHA256 a0e7b47af38330f188970998c8e5039134dadf6f2e3f2c00d7efdae272a4338d SHA512 8196c2a250807bb7aa819551fe374edd4d18e28f046627a9800ee7f13b3a4a8d8ed14619e3c1eef8144d80c3969f244e019ac8e6e4ea2d4eca44f16fd98040db WHIRLPOOL 5f307bfc62493172c627eaa4ec57c1d723091f89db822f1dcff38dbd4246b96369dc47be507e16ec9ae3f36d3fc84f6dfb0f41886dba402622017e8dc16051ac +DIST calc-2.12.5.3.tar.bz2 956025 SHA256 0fcf60917efb10aab145f1180c278a3ab63d789aad6d5e5f066a4458b5f9b692 SHA512 5f05f9710d5ad1a89212a4f0e36adeeb766ee317a3db70ae31fa1d555de8e4ecc61c4afe8a62c3a18d899073376e3f88fdd9c03ea6a5ada83a692583b205d8ba WHIRLPOOL 56159900928409555f9429846d3d879ee828fc4d8fb82cf1c57b4d9785cef6f379c296edcfad7632823098dbff64ba766b3981ec53b54955c7637d28e1c8e320 diff --git a/sci-mathematics/calc/calc-2.12.5.3.ebuild b/sci-mathematics/calc/calc-2.12.5.3.ebuild new file mode 100644 index 000..5d53fcd --- /dev/null +++ b/sci-mathematics/calc/calc-2.12.5.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Arbitrary precision C-like arithmetic system" +HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/"; +SRC_URI="http://www.isthe.com/chongo/src/calc/${P}.tar.bz2"; + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~amd64" + +IUSE="" + +DEPEND="sys-libs/ncurses + sys-libs/readline:0" +RDEPEND="${DEPEND}" + +src_prepare() { + # Rework patches before adding it to the main tree! + epatch "${FILESDIR}"/${PN}-2.12.5.0-prefix.patch \ + "${FILESDIR}"/${PN}-2.12.5.0-ldflags.patch + ln -sf libcustcalc.so.${PV} custom/libcustcalc.so + sed -i -e "/DIR/s:/usr:${EPREFIX}/usr:g" Makefile || die +} + +src_compile() { + # parallel compilation hard to fix. better to leave upstream. + emake -j1 \ + CC="$(tc-getCC)" \ + DEBUG="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CALCPAGER="${PAGER}" \ + USE_READLINE="-DUSE_READLINE" \ + READLINE_LIB="-lreadline -lhistory -lncurses -L\"${S}\"/custom -lcustcalc" \ + all +} + +src_test() { + if echo "${LD_PRELOAD}" | grep -q "sandbox"; then + ewarn "Can't run check when running in sandbox - see bug #59676" + else + emake chk + fi +} + +src_install() { + emake \ + T="${D}" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + install + dodoc BUGS CHANGES LIBRARY README +}
[gentoo-commits] dev/mrueg:master commit in: sci-mathematics/calc/
commit: 3f7973a2df91dd9d6f94943301e4f9ca335f73c2 Author: Manuel Rüger gentoo org> AuthorDate: Wed Jul 1 02:05:48 2015 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Jul 1 02:05:48 2015 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=3f7973a2 [sci-mathematics/calc] Use default slot for readline. Fix unquoted variable. Package-Manager: portage-2.2.20 sci-mathematics/calc/calc-2.12.5.0.ebuild | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/calc/calc-2.12.5.0.ebuild b/sci-mathematics/calc/calc-2.12.5.0.ebuild index 35faa0b..fd0e3cb 100644 --- a/sci-mathematics/calc/calc-2.12.5.0.ebuild +++ b/sci-mathematics/calc/calc-2.12.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/calc/calc-2.12.4.4.ebuild,v 1.1 2012/08/09 17:52:26 bicatali Exp $ @@ -16,9 +16,8 @@ KEYWORDS="~amd64" IUSE="" -DEPEND=" - sys-libs/ncurses - sys-libs/readline" +DEPEND="sys-libs/ncurses + sys-libs/readline:0" RDEPEND="${DEPEND}" src_prepare() { @@ -37,7 +36,7 @@ src_compile() { LDFLAGS="${LDFLAGS}" \ CALCPAGER="${PAGER}" \ USE_READLINE="-DUSE_READLINE" \ - READLINE_LIB="-lreadline -lhistory -lncurses -L${S}/custom -lcustcalc" \ + READLINE_LIB="-lreadline -lhistory -lncurses -L\"${S}\"/custom -lcustcalc" \ all }