From a67d5d3fa40a1f0c427a108df783932242296f7e Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 22 Nov 2014 13:37:36 +0000 Subject: Version bump. Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613 --- sci-calculators/units/ChangeLog | 7 +++- sci-calculators/units/Manifest | 10 +++--- sci-calculators/units/units-2.11a.ebuild | 61 ++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 5 deletions(-) create mode 100644 sci-calculators/units/units-2.11a.ebuild (limited to 'sci-calculators') diff --git a/sci-calculators/units/ChangeLog b/sci-calculators/units/ChangeLog index a2c042a581d1..e76aafbd7b28 100644 --- a/sci-calculators/units/ChangeLog +++ b/sci-calculators/units/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-calculators/units # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.76 2014/08/01 11:07:41 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.77 2014/11/22 13:37:35 jer Exp $ + +*units-2.11a (22 Nov 2014) + + 22 Nov 2014; Jeroen Roovers +units-2.11a.ebuild: + Version bump. 01 Aug 2014; Raúl Porcel units-2.11.ebuild: Add ~sparc wrt #505998 diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest index 5c8aafb6c84a..e080f09a1cb1 100644 --- a/sci-calculators/units/Manifest +++ b/sci-calculators/units/Manifest @@ -5,15 +5,17 @@ AUX units-2.01-install.patch 2008 SHA256 7487ec8d4d887cae48e6696361a5777b461eec4 AUX units-2.02-UTF8.patch 619 SHA256 c5f26a6813710abc86532631d29ababaddfedff7d143b51a1748bb3b20fbf4b2 SHA512 91fd9c325058648799af3e55207fa37287986e3233cbac341fed1de9b001182b724b0c69e97e4d331f864150ec6ac44a28ff153b1146c2c1a60db49744231d78 WHIRLPOOL a50d04e9ae4bb9e90aaca3bfc7cf9bbdca9f31ec01c78f3365dbe3f64b58b8cbbe16a5248a168f546c02aa913ab28062a2d6417378d31b528f5b76837d297953 DIST units-2.02.tar.gz 768135 SHA256 2b34fa70c9319956135b990afc1ac99d411ba5b291b5d29e4a89fdf052944e9a SHA512 83cb6d2ac00304a5e14fd7c5137f70993bc2ea2f67852e4e64e2a718402c118ee3eaeb2bd251a1dca612fb6a995cd86b4c3eb353754540a14bd4d51cf1f5b0ed WHIRLPOOL d7253e97575cb6e85a6be5b30fe8be88fa1625e2d289f5e7c7f65a1b6baa96aa29978b0a212724977d81d67c664ced2dee5dd7b6e2c376550684ff7a1c9ca6e3 DIST units-2.11.tar.gz 861772 SHA256 53b6daf2a03d9a060449944b0a6c1aca0d18a84d1d9a93098e4a8920181f5abe SHA512 83e062a0daf9541454cdcaa4efe03bf9f03afdcfdbe2013d5e913a53e1b5e37ef846a3129185898ad2d25e3ea632533f8eb8d89681c855b19a3998aca6e733ce WHIRLPOOL 4c405e0a81af2b02d05156225c26573631ddb02d323d160b0850fcfda52b4a84a36f3ddbfdc732aa8a9dc06c8fc59a41141f985d6025ea6cb18b87749b78d500 +DIST units-2.11a.tar.gz 865120 SHA256 cdc1ef5adf0701f9bf0f9e3c890cd832554e5bf3f078dab852e5a6783e525b8b SHA512 d942194b73a4d920d711bdcf07481aefff8fc1403f47ca73c1c0fd9837cb7c385a45f326d9537ba1aa77283c4f812be346a1b5ac15ca1e508c268857cc9d78db WHIRLPOOL 72efc473f9105796bdbdc92e2e355a0a2c8ede0ae5febbc017a112b6524e6ad9081a581cc22666ed4e7e74a87bf1b8d45e3a262df53358cbe32107edbe4b6230 EBUILD units-2.02-r1.ebuild 817 SHA256 6166b29cdf679763de51d6fc175560ee49124d796a9e73ec309e0992d4aafaa7 SHA512 2a922e427410278b1d75a536fa3bc2b4d064d08953872827fae85558288214d73cbbb8a699d04a90d3c337c15195b2fd46deb226ae66f7867f81b8a979b3db15 WHIRLPOOL a74978ee29679cd036cadbc324aa176c23aeecc4bccd42cc1e006a0eb1004f3dac2be0ac731343abd1a5b758c9ed6e0c2c3aa8bbc50678b7e17582efe2f21a25 EBUILD units-2.02.ebuild 764 SHA256 a9984269297145797b0fad51581763b4b1b56d6721828dbfc1d57cb2505e874c SHA512 48a0c874637d54b873934b0bf488d3e6dd28a788bc3ab25d750f9a5d76d5343ce86c2510f8f0e912aef03660e455844108d8b11296c0d3a2e82c0d4c26faf667 WHIRLPOOL 74825569fa4f5e3083c10023830e6a5f026a464f26496e8b9d04023366d64c3d4fff3bae3c86aeeddbb2efd6ef16a29048e868b628eceb7b86490069f04a59f5 EBUILD units-2.11.ebuild 1388 SHA256 467f262b0318bfcdfad274655962bf2552b2a22d0c114eb520da00654009f4bc SHA512 cf7d477b2bf46f1150c6a681874454fe9b26c2cf4d7d6983158a9fd842be79743623af6ae1b7503242bef25c264590c8e7289507aaafb45796ef4da3a8731a00 WHIRLPOOL 5db89e4f55af97f701a3770b91f5a43a89b3a20152de01efb24ed0d5ea271639e976e15d8a3817791e4e4b267b76b451954f01df52bcc728765d56269636851c -MISC ChangeLog 10724 SHA256 d05dbb1b3794a6cb4e4f07d1eae70df45ae2c8321e41fccc39d626d237e5140a SHA512 1aa679a78d4bb8d0cee57008ebbb79ec4743ded2c8b2e4e80c2642c90ef4940a47a72b15725121460031cc1780b97c282778a7d47ec0880e1702ab344c4573bf WHIRLPOOL fe005d850ab5310e351fd4948c303358f5cac5e73078f27a4f04daad924830f3e14414fb0395e83328343b3346f01fceeacb54440f9e3f6879087afe5fce2ac4 +EBUILD units-2.11a.ebuild 1393 SHA256 cddb1986988b584dd2729c5aa285bbe8c0ea2d4940bb9fb4e0fc4ba38bf9e599 SHA512 72e8a2154482489788a98c85c14184836826150998c3156b5aec9a2ce36d37a670ac37f0282ace6b4b96a97c7ccd5fac37d467b904c573ed22cf3bfa03ad9fb8 WHIRLPOOL d3f83e87e3d4657e3deddf487a5e04db1b03ff75cddb35e7941bcedaa53ddc2f5312a57e6253bc4744febdade7204872c073ef216488e49309d623b63fe30a30 +MISC ChangeLog 10833 SHA256 2277be14c224ef76159de6b87d1ac91d920c093562e71c51e079ced3a7eaed19 SHA512 7aef1c33f9ad443134f34f2627ccc752ea28e49fecc4cddce37c94d0dc59c8ce2916b6441c651afa1eadc7f22fa40c387e673530a21915363b7a7b63422ebe42 WHIRLPOOL 7d7bfd3420c48d839663c74ba81d93db4453a6eafde9d9082521e23b8558fca8089ae201cc75019bbff0ee33965da1eaacde4f31dfa5e1858209a26a649b39e1 MISC metadata.xml 327 SHA256 e2995117e4beb2ef6f9f0521abd6328705aa57f4f62b6923bdfe6a82dbcb53b9 SHA512 694cebc7ceaf4f1f5030d4b0ebedddb06be15ef148e74e0b323273d1a1932e984c223b775fd6c0e30f93c54ef4719eecf9878b5b7469f7dd5910384e31f551c2 WHIRLPOOL 2af2d2c1b72436d2d1d82a8c91187c01f1d7f62413c805945de7c6dd2e08700959bed8a2b6b5d639b7212c22abc8e8ee97c67931ba12712ab4985c48d8f9c4a7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlPbdP4ACgkQuQc30/atMkCmTACeOYEweuIBEK0OZV4MXjpDbjhZ -OyMAnRwKGV1BCBmtEkDP5SVshh5Mc+yc -=1Q5v +iEYEAREIAAYFAlRwkaAACgkQVWmRsqeSphMrlACeKGdvQzNFUofTI6o5Rj8FkdGk +S7sAniU8wME1I6u7k65OPJsiapcU5RYb +=+xhS -----END PGP SIGNATURE----- diff --git a/sci-calculators/units/units-2.11a.ebuild b/sci-calculators/units/units-2.11a.ebuild new file mode 100644 index 000000000000..9889a1c9c4e8 --- /dev/null +++ b/sci-calculators/units/units-2.11a.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.11a.ebuild,v 1.1 2014/11/22 13:37:35 jer Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) +PYTHON_REQ_USE="xml" +inherit eutils python-r1 + +DESCRIPTION="Unit conversion program" +HOMEPAGE="http://www.gnu.org/software/units/units.html" +SRC_URI="mirror://gnu-alpha/${PN}/${P}.tar.gz" + +LICENSE="FDL-1.3 GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+units_cur" + +DEPEND=" + >=sys-libs/readline-4.1-r2 + units_cur? ( + dev-lang/python-exec:2 + ) +" +RDEPEND=" + ${DEPEND} + units_cur? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) +" + +DOCS=( ChangeLog NEWS README ) + +units_cur_prepare() { + local UNITS_PYTHON_MAJOR + UNITS_PYTHON_MAJOR=$( + UNITS_PYTHON_MAJOR=${EPYTHON/.*} + shopt -s extglob + echo ${UNITS_PYTHON_MAJOR/*([[:alpha:]])} + ) + sed -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" units_cur${UNITS_PYTHON_MAJOR} > units_cur-${EPYTHON} +} + +src_prepare() { + use units_cur && python_foreach_impl units_cur_prepare +} + +src_compile() { + emake HAVE_PYTHON=no +} + +units_cur_install() { + python_newexe units_cur-${EPYTHON} units_cur +} + +src_install() { + emake DESTDIR="${D}" HAVE_PYTHON=no install + + use units_cur && python_foreach_impl units_cur_install +} -- cgit v1.2.3-65-gdbad