diff options
-rw-r--r-- | sci-mathematics/singular/ChangeLog | 7 | ||||
-rw-r--r-- | sci-mathematics/singular/Manifest | 49 | ||||
-rw-r--r-- | sci-mathematics/singular/metadata.xml | 16 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-3.1.2-r2.ebuild | 174 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-3.1.3.1.ebuild | 170 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-3.1.3.3.ebuild | 177 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-3.1.4-r1.ebuild | 187 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-3.1.4.ebuild | 179 |
8 files changed, 33 insertions, 926 deletions
diff --git a/sci-mathematics/singular/ChangeLog b/sci-mathematics/singular/ChangeLog index fc1cec4b9566..c316bd90afa1 100644 --- a/sci-mathematics/singular/ChangeLog +++ b/sci-mathematics/singular/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/singular # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.59 2014/12/05 10:17:00 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.60 2014/12/05 10:34:11 jlec Exp $ + + 05 Dec 2014; Justin Lecher <jlec@gentoo.org> -singular-3.1.2-r2.ebuild, + -singular-3.1.3.1.ebuild, -singular-3.1.3.3.ebuild, -singular-3.1.4.ebuild, + -singular-3.1.4-r1.ebuild, metadata.xml: + Drop old 05 Dec 2014; Agostino Sarubbo <ago@gentoo.org> singular-3.1.6.ebuild: Stable for x86, wrt bug #529536 diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest index a6648d0ce620..9a8b4ddd3a0a 100644 --- a/sci-mathematics/singular/Manifest +++ b/sci-mathematics/singular/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 AUX 60singular-gentoo.el 298 SHA256 b05a83af5a80fc1240e77d1cd036f4c9ca00907d11fb90d7f0ffb0c92ff7d235 SHA512 4c17a25d91c085e12f26441fcde858e61bf191bd7d9dcf63ff5b5a1dce1d63e3f7c4f78ce8afa4f2359ad4ba6eb51f3e224ae6c502b18f5f7a76738534337431 WHIRLPOOL 371c5fe968afea07fa8ca4bd51392859a18565b6f34e43d698ef433e28db0587eaa64f2b83cc71979104d1ef121c690f8113ed6efa424a00397e0256b58d55d7 AUX singular-3.0.4.4-nostrip.patch 453 SHA256 70d6972d7bddd1d8d601f715465a46c92eba1edf2c5608bbd01ae65c6fd64553 SHA512 2fd31198c7c4e752976539a7ddc3b03bb4030efc52e66e5a2d34ce438af558d9d8b45aa088da6cf4eb1edf7f7239994f6eea040d0a8eb0c2c854b6275e7dde5f WHIRLPOOL 4cc614b3c1e62e3ad68725e8f0cf85522ee1190fa4d8f8af1344eaead28d9837c60ac468f5b3206ba03dc9db2656257108d029e73f0ab9666f220568f049825d @@ -12,38 +12,27 @@ AUX singular-3.1.3.3-os_x_ppc.patch 368 SHA256 33dbb7ab84a24c9c4e08e49acd955d8a4 AUX singular-3.1.3.3.make_parallel.2.patch 1498 SHA256 4d16186fc3e218d86a99f45d414e84b0d91d2ca0c10a1431fc73d9275acd0686 SHA512 368690aa1063bf78b211f3291ec5a00a6369a83978f371d2dc6557b8924fff4ced8a438b1ca5464d3886ae94c155b67db5a00470644c8a03b7aeadb4aa74d2e7 WHIRLPOOL d5bf887e95ee5b321bcd3dd7ddd406e540a9cd00406009d381f191bccce572d95493d273114a5e9c055c6dcd4c12fd391d4eef098d97815500abb114ab961313 AUX singular-3.1.6-factory_template_instantiation.patch 900 SHA256 03c64c0f4946a4de9b57f4ae644bb364283763b56075e712c617972de4636c37 SHA512 0a0d7a271fddf543de6d8d987322e4062997a6283ccbb90f55c8d70ed39a2e58a0d68e881c0d260ad9f4ceaf60352bcd78a48b6f707a7719369c0b4cbe47542f WHIRLPOOL 8b0a5903c6d13cb94e68791fa1ab7e6846909059ebf4d9d5eda5a04693fc09eed93c1c95ad03af018068c044846b9da6d98cc11da03a8277d29ce4860671946c AUX singular-3.1.6-ntl6compat.patch 1401 SHA256 4fbc4bd0817e585345a7dd3fa8df8c19e8ed241fb78d911c2e7161b1e12e9c1c SHA512 5d6c4ec73b81cebcd8d24dc75efedb2f3da656fc5103701f25f7bba40355e995f116acddb7bb711b8832a89ec55a1b7fbbc7dd9215822f786e7a6012905b66be WHIRLPOOL c0ee7ee9486eda07f00df2ab4604b88813d19dd47662d25e16eb9c83ede3f85589f7c1d6d675791d0198c53ceff9a2fe47c4fdcc185e08d172fa4798bcd6bf76 -DIST Singular-3-1-2-share.tar.gz 9341118 SHA256 03ca31608684a02f645c3ab75fe06402fc076f05e1ed7154427855affbfab45e SHA512 dbb30a77fc48cb0d7c284157d530fcb122469d4be76966599fd304d183fbd4c8be71495b320c521e4f75f05958415bf87c38fa34b4ab05f38ea424b3b7519291 WHIRLPOOL 48e0276b45f4c8d87bb743c6efd0a89e6dce90afd87087def9ea6b78fc2eb9894841c6d9c19acc12d69631bd9be77ef8828ba410635cd254194a7f6eb09e2e44 -DIST Singular-3-1-2.tar.gz 19564373 SHA256 4fbe46cca2aef42fdf73ef8556350278f9f3b3d5d0d1b8e21c1a182e59f2b88a SHA512 3b42ac7b831f54954afdf5bb6e3ff37a5b01832b243e330201e4b5b600c2a90c0868a76cc013ac545d561f3203ecf3dfcc395209ebaa900ed8dcb2c517cbb751 WHIRLPOOL 58c6ec080b0b5523db3ddd8919e9e9f06d3329a6ff50dc071dffe7274d52638e2addaa1c5d5f162e8e5a3a8da314f0d0f2addc7a12dead4753414d43e699706b -DIST Singular-3-1-3-1-share.tar.gz 9413521 SHA256 d02d7fc41e0b0b5699f818271a01ae10cff576b320eb9044e814c95e52659d11 SHA512 fc66355364447e58a2981ba655efaea2b28e4d3638c0ed1aaf409cef00dfd09b43cbabd6df36be70890158d2c1d407a74f02e073461e3aa5d3f33370291e1edf WHIRLPOOL 34379c6ef8fb03490e258557533e694e3e22e8af8b89d6d2806f4a8a3e8c587bf570d3314d75829375115ab7a1ca08e0d6805cfeabdec8a803e033bf5eb849ce -DIST Singular-3-1-3-1.tar.gz 19780477 SHA256 f097e49eb88044f501ef516d7c3e4e6d81b4df009ceeb3f846928067e3c1f3e0 SHA512 50aa96099edaf1fabf4cb6e123e36e0461d86a0570915b64ad3fae861822830ef7e3a030756f68fc156ff056bbad83fae74c80908abbccc8284a78dbcf92faeb WHIRLPOOL 421bf6056d34e755f225a9627d379a9ce4ecc3bbc10932723272e6532c5d122cfde38da0e07c0b3057abe71e547c54b0fbf3c15e162810f3beeaa32c2391f3b1 -DIST Singular-3-1-3-3-share.tar.gz 9451406 SHA256 a9fe1bf80a95352a6d502d47c47eb5ecbff0066cdc3797ffe28fabcc0c4de816 SHA512 2edda9a1f59150610c28de7d2d05a8055ed01777e7f8cb385b8933271d5fff65f782630117cabc88cc9dc55d3d0a6fdd3a8da4eb40e4d1f3289c9fd86d21d9ae WHIRLPOOL 9aa2faa5c0dfbbc4bc2687b7632fb4ac5d7e188d3f73933bc2847fbc3ce01be8782d3411addbdafcdb1d96312c840eda7958f2c3e86032c31899a29c968c5f7e -DIST Singular-3-1-3-3.tar.gz 20050926 SHA256 1228c05fcd3a70244bc7fd676c46a65d64c57a223511ae2ac2fb1f6b5699ce39 SHA512 b4efe917a65bf0d510966131970376add0bda2f04bdc4db805cfe78dfb4a1f3734fd6edc45a9f21d1af7ba9c9abd4f2741d2b81c697a540152fa53c28684615e WHIRLPOOL 7638efa8ec75c3768aca5e01f02f20ac88634eb83b8c219b0ca10981d188f36ece3baec18d7201b09da1054e221f96d3dc87e8ac257e18a5ab27057f7c0abc01 -DIST Singular-3-1-4-share.tar.gz 9544863 SHA256 8e4f36163b258cfaf7a4e8379e1e031721092326693264a0c4154381d15c871a SHA512 4d9f1c92c8cb8adc92091a1c93a14143049fa5c2aec6b943fda69564bc1f21b93aaf510a0a2288ffbcc23d3d9c18cbf57aa10dbfca15616a87dda840ae9be4ce WHIRLPOOL ca05b11c3d751b548800091a5c73799e6c367b49abe5fd1babd9e19b19f5b5d3a3a897b7e23f89c9e6d9f40e5f978b89c3497266a32ff5ebb4c90cdbefc594c5 -DIST Singular-3-1-4.tar.gz 20662954 SHA256 e15ec070b277981a7b6448e0ae3127a6b8539f4312a1e755c1003054e4ef6e84 SHA512 4795b495a40bbc24bd2887e0b2c1eeb717aabecd24b10f1ed672fa68ae5fc1ccbc643228b8823b4a94a57f74bdf2f731ca784e01246d57c82fd88e255b9f584e WHIRLPOOL a846886686e05c66efedf506000611b7fdaaf2976558272d276f1c8649a634e01006d21c030216668d28fb4c429228bb88ab095b8cec32d3275e3caee0f5e4d9 DIST Singular-3-1-6-share.tar.gz 10620177 SHA256 c74a97b7eb8ed53417682637fe11c2480aeb1a6cbf4a8db27a1b16a162e83c4d SHA512 54bff29c5d64609583ec8b1c43005a1ff453c8f2cedfe9a26ac840888e9d306e3104e14aea5a3cc923fac916215c4285ecfe5ae7e1242aee0308b5e4c6e2d48d WHIRLPOOL a1edc8fa9cad189af413870b0e63316e135e8456075f13b3d8036afafd6c25f4bcc854432cdcb8c2ec690c63b43f616367aa9f1027c096e95f22aa0508943f67 DIST Singular-3-1-6.tar.gz 25535111 SHA256 7956a17a0b5d428fea25bc0bc6c19c753748fb98bb2926c49b9fbcbec94172ff SHA512 103a10dd474d93cceb678bcef1a4aae5ec693cb9e68c9d63a7536929b738a0127501ee145a79cc3b9ddfa4bd1ca0f05e640eeb3b0fbdb60de4f56aa5beacc213 WHIRLPOOL 71ef6d505f7c8b2eeacd46666640d7b3c79f75d6c2c858b135553b1fb3a9dd7d88df74924009468c32aa4aa748b88ccb7762010ab4d36eec420a07fd36e8dd22 -EBUILD singular-3.1.2-r2.ebuild 4829 SHA256 5d13a92d0b9d48b44b2ee10f7b9abf989d861f6ec9ec7a78a794e61cef529048 SHA512 93ef6c2d43a7c0c895ec90e7cf9b8d2ec45dfe2fba483228fdd7ff1b0bf290c8a61bad80fab69c2d5329d95c979efe2cf70bb5f6ab9da007b8050f5edb547799 WHIRLPOOL 86f27228e171ad6269b068d66d38d426689171a8be6732bb1938224801a88d012b3dc7d7c66bab6eb7a0eaacded20d7a4d792dd0636026c2fc3af6ebad56086e -EBUILD singular-3.1.3.1.ebuild 4655 SHA256 e3f7b6d0a80560a4571e1426c4b7fcd6bae7cd8b1622a4392e78809f73d5f3d0 SHA512 94355432afdb547af077974e5c3096345a55e4ac1024239b66be029fe1be914bf079de70f20d316e7150d42ad07bd54e28444b20958d6c996ff8c426173aaeaa WHIRLPOOL d9ccfe783fab88e89dd6f95c11b2f4c121c55ca5e56ffd32de2b3b547e16aea0f45d5e08a224f642e43681c54a6956e1148c8111ac4a46db97c4e0368c0b74b1 -EBUILD singular-3.1.3.3.ebuild 4956 SHA256 8c41de9bb23dafa5314c595ab989f67b4236be8fb42f223c1bec8f4bfdc4437a SHA512 1f694f153e92019af530ed96758c0c2b91d88c2e661e9ee9c64cf6a62cff1bdf8c3356549fd602a1f52200aa878843429a6166143b613df9bd879a613becf876 WHIRLPOOL 7e920c0b6a525afc0c1ff10c8bc2a08b92bb545b063c04484a05f2a3cdf2ba32e4c5bfa8334ede3e2dd9f9e635f6448cd56f93d37f1b98fe26e85e544189a4ef -EBUILD singular-3.1.4-r1.ebuild 5235 SHA256 f7308200a46692fc2e3e7a74ca5c1a21766c3eac6926aa9cefe685da390a7d42 SHA512 bab21030e8d807176dafca3b2ad13761c97a589f22ab91b905e337b1fff6aea614dd21093cc39e8e54c030ac19e2925ad60a1f8c12cf89a5eaf8dc7fa5456d63 WHIRLPOOL aaae72ef8bdd784ea9e67e49ba72fe15871097e81374e8d802bc36ea0d4739d22bac158c249756fd456c2d5a2ac013f82320f039913a340a4b487ec20ae7765e -EBUILD singular-3.1.4.ebuild 4829 SHA256 1df5d0586016870eeca68ed58dd4f5857449eca4e2716b1eb55a3b8560891cca SHA512 0005efc8eedfe576149064705151aa0b60e6cc6713dfb5dd6185e170e32c88c32acfcfc483d24654d31d3f8981a25af32b4cee5ac699cbea2e3a7d95d37c5e50 WHIRLPOOL b66c7b788fd737716eae11f461296f0b00668068480cbd04314e963b46ae51233476c32647a22bbc1409ec9f8d6b02441555b497bfed71f799c03e5698c7e15d EBUILD singular-3.1.6.ebuild 4770 SHA256 76405ee23daaff5d73b42e96c18e93a56277c6d3ecb1f32b7fa6df9b22a76d8d SHA512 0308de0e31ec6f8e5801a3375f43f52970d0e173ae48484ddfa074021535d82962ba494a4bc200b4e41c0e3a59702499003b2330ce03806081bf1bdac9b7ec12 WHIRLPOOL 752fa5fdff5f4e719af2ca8edc4ebc90ce8744ede046f7f5b8a7d0f9d142dbc7b8dbbb1d77abc39867337adbe44250af40b286cb59598c24334533fbbd4517a5 -MISC ChangeLog 13070 SHA256 4b11dcedc27b7e958f8c8d98b862ca3569dd461de91d6ef6387ad9adbbd267ec SHA512 c7496bf15cb527f349b7c2e141c83a1b2476bb30a59cc87ab8d1c077740e9854c203e04b47b2a2b394cb683adbb8cd68b4a410fcccd97b22c791af847d76f3dd WHIRLPOOL 17dc98eecc45ce7c2a764125c9560fd86a5421b862c840306ddb494e96252bd25be8887799eb0b71b825bd9827c1ee49a67582d5e146f377ad6366ff92cf89a7 -MISC metadata.xml 365 SHA256 ac35c79b9ab936fa88b962ea0ba2e1b6935271ee592e665e250bcfd90bf0adb2 SHA512 0845e50be660dadde53fea0e197237deed03a1d3d1e4d0386fa90300b45beda27030de1865e2364ca5eb3ded1ef949776470a0e3bc744d174699ee914c8c8072 WHIRLPOOL c9c8aca5068103fd7a96690b6ddc2f59d1cca983521d4a8f63c6d96ba4b8bdcc6796585489923ff12053e929777f308294349f10561935444b3f34bafdae421a +MISC ChangeLog 13278 SHA256 6f8e8c6202fbbe77b786f59ce69fad0bc0b3ab311d955e5b0b7e8fe1534c699b SHA512 0ebdd40e3ae596f1cde9f142d30145dbd0741f320c4a2c87c2d5d7e5f85f95eec6100097377971752faefe31a77c99f045fc29612ba387248f76dac26fee1a38 WHIRLPOOL 756c05f03ee99124428bd26bf451354b1def99315e5f51540ea44e90a276d0faf96ffb904821e97748d876d293d0595879952dc047fa18b60e97e21080520b1f +MISC metadata.xml 381 SHA256 784d034201d00e1cf426a61486184b5178702a00dbaa4be3740a462c45cc1312 SHA512 5896b2b956ca1405616871bdb55981b94a22cb4b4f6483096429ec8b010d522d32d9e4eb0a87bc040aab6d3ff8007f1b0f3172d7994f74a408dd9628e89dc08d WHIRLPOOL d5b8312b3aed717bcf191dccad086994456e413a0444d11c216e96a416b4cf1d3c4903ba187cdee3e61a9dddaa1858958766e0782b28ab8ff6c6d5fa86b7eaac -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQIcBAEBCAAGBQJUgYYdAAoJELp701BxlEWfM8sP/0hJagZvGTtsYouwnPZ8fGOi -3CTR0KkdpJ7T3V+fvTi/3OF3cxTkIKaDgJAbpHIfODLMMj8rjS3R2Uz0tGwGUCNG -jeQt1N7kP7XuESNjSZ/celO5YE8qrx+FUsva55RvKChfQHCaUuFohJw+ycAS7QwF -ZpWk0OruA4kpHBeE5NirkPUs6XaRPqQTBSVpcf9vrWHiBtfz9cDLTXt3Oc8Bpx6H -KFLIXIWcXlWMmMCsdwImX1Dv5iKHjR6DlkRevxwoHpvJFFtDbpwt8mMHza0+3fsi -4NeKh7GT5e1UkenZWO1WwPFLgdFzqAuQcV5TxsFcsUEDSMbqFAQGQQFNLpJdkWJ1 -UdVgnl15Rys2Qp0znHe2Und1G1cwyhukmdKxghIyT2lJEcm8sODsm5GDb2UGXxdg -mpBprpo26yfT+8ny9JIvfUVjBVdXB9MPYMmemMGs7aNRceNBvGhlbrzuTVgkZp96 -hnNd/ps7VlZrsDKQA/CaIcw0dYNDP2wHjy8H4xaXZ7BtZQxgvLd0ObBLZHH3VfVs -GkvaKmsfB1cPcayuH/+K3Tp16Gs8jIcT33accJttAMn4HWPSkMSDXqSXeka700Mq -aOpPu4m640aolA+EjOOrthIlSngOSJN0JbQwIhxo3YT83iD1AZ9YAIOBxM4/1knW -L2oZvpjZGp8wC6Kqkrkr -=pL3t +iQJ8BAEBCgBmBQJUgYokXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC +OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirwAwP/jVUqWfq9r7i3YZhnwlU5C+L +dq4HIyk/Lf4+QMju/Kqi5BXgnjRCc3dtVQ3BbWt7sdMwuKk+87mcux4pPFWWXb20 +5nZ9E/ARIUh+e7lEfZ5mU+oqfi9feGqMN7hrDGODLOh9QnK0n8cU5mc5uSoag9dh +KIPj4dsN4t/kNRuNDlPqP/pnm9Jr1XM/6O5+el1dj99gs1TtAlvAqX/QuL5v3pII +kGz+l1+bT4uZoeXsOWribqA18yVbjCTHKz+TF4lyohBPwfM5Yaj9PX4Dz0q/N0mU +tIODEkMYZT7rBm3ai4ao+x34lb2D74nQeHjYUDRD4YbWbkLDueVKI8R8HiZF5tku +MYd+zQXipCzjh+UNngWWUu2WT+k5PLlqCvp83tOWjEw4fCgOVO09llP/6TfTxZQ1 +ZV18HzZ/Dd1dFe0FPhiy4gBBVzEW2vmtKulQ+WZzefQZ3M0Bqlxmc3lApx1SNvI/ +O5WQYWc/qOvMWoXiKmrv+prePNWTbu9ZEaNiWBiblW9VDNNFaz5lZ2iElfIlVyKO +uyNLzHFDpUsQMqu8Jm+jp0C8urFt81gr9gbaUSDAo6jO58B/RiuXQ2rs0p+CPxDv +RoCp9Jo2vkOSu0Vljpj8on7lhDplEeO6g78MjbBq2J3HaCAAPgo9V7ipHDkTL1mU +rR7SLZPLaIQbLgcTzYLw +=417N -----END PGP SIGNATURE----- diff --git a/sci-mathematics/singular/metadata.xml b/sci-mathematics/singular/metadata.xml index 936baecd730d..2a047b6737c1 100644 --- a/sci-mathematics/singular/metadata.xml +++ b/sci-mathematics/singular/metadata.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer> - <email>tomka@gentoo.org</email> - <name>Thomas Kahle</name> -</maintainer> -<herd>sci-mathematics</herd> -<use> - <flag name='boost'>Compile against external boost headers (<pkg>dev-libs/boost</pkg>)</flag> -</use> + <maintainer> + <email>tomka@gentoo.org</email> + <name>Thomas Kahle</name> + </maintainer> + <herd>sci-mathematics</herd> + <use> + <flag name="boost">Compile against external boost headers (<pkg>dev-libs/boost</pkg>)</flag> + </use> </pkgmetadata> diff --git a/sci-mathematics/singular/singular-3.1.2-r2.ebuild b/sci-mathematics/singular/singular-3.1.2-r2.ebuild deleted file mode 100644 index 9a3559efc1c6..000000000000 --- a/sci-mathematics/singular/singular-3.1.2-r2.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.2-r2.ebuild,v 1.10 2011/04/17 11:45:14 tomka Exp $ - -EAPI="3" -WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix - -# Upstream does not care about tests. -RESTRICT="test" - -inherit autotools eutils elisp-common flag-o-matic multilib prefix versionator - -MY_PN=Singular -MY_PV=$(replace_all_version_separators -) -MY_DIR=$(get_version_component_range 1-3 ${MY_PV}) -# There 'share' tarball does not get updated on every release -MY_SHARE_DIR="3-1-2" -MY_PV_SHARE="${MY_SHARE_DIR}" - -DESCRIPTION="Computer algebra system for polynomial computations" -HOMEPAGE="http://www.singular.uni-kl.de/" -SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/" -# Share stuff did not see a new version: -SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz - ${SRC_COM}${MY_SHARE_DIR}/Singular-${MY_PV_SHARE}-share.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~x86-linux ~x86-macos" -IUSE="boost doc emacs examples +readline test" - -RDEPEND="dev-libs/gmp - >=dev-libs/ntl-5.5.1 - emacs? ( >=virtual/emacs-22 )" - -DEPEND="${RDEPEND} - dev-lang/perl - boost? ( dev-libs/boost ) - readline? ( sys-libs/readline ) - test? ( dev-util/cmake - dev-util/cppunit )" - -S="${WORKDIR}"/${MY_PN}-${MY_DIR} -SITEFILE=60${PN}-gentoo.el - -pkg_setup() { - append-flags "-fPIC" - append-ldflags "-fPIC" - tc-export CC CPP CXX - - # Ensure that >=emacs-22 is selected - if use emacs; then - elisp-need-emacs 22 || die "Emacs version too low" - fi -} - -src_prepare () { - epatch "${FILESDIR}"/${PN}-3.1.0-gentoo.patch - epatch "${FILESDIR}"/${PN}-3.1.0-emacs-22.patch - epatch "${FILESDIR}"/${PN}-3.0.4.4-nostrip.patch - - # This file has a trailing whitespace breaking stuff - # It's fixed in upstream cvs, remove with next version! - sed -i 's/[ \t]*$//' "${S}"/omalloc/Makefile.in || die - - eprefixify kernel/feResource.cc - - sed -i \ - -e "/CXXFLAGS/ s/--no-exceptions//g" \ - -e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"/" \ - "${S}"/Singular/configure.in || die - - cd "${S}"/Singular || die "failed to cd into Singular/" - eautoconf -} - -src_configure() { - - econf \ - --prefix="${S}"/build \ - --exec-prefix="${S}"/build \ - --bindir="${S}"/build/bin \ - --libdir="${S}"/build/lib \ - --libexecdir="${S}"/build/lib \ - --includedir="${S}"/build/include \ - --with-apint=gmp \ - --with-gmp="${EPREFIX}"/usr \ - --disable-NTL \ - --disable-debug \ - --disable-doc \ - --without-MP \ - --enable-factory \ - --enable-libfac \ - --enable-IntegerProgramming \ - --enable-Singular \ - $(use_with boost Boost) \ - $(use_enable emacs) \ - $(use_with readline) || die "configure failed" -} - -src_compile() { - emake || die "emake failed" - - if use emacs; then - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/ - elisp-compile *.el || die "elisp-compile failed" - fi -} - -src_test() { - # Tests fail to link -lsingular, upstream ticket #243 - emake test || die "tests failed" -} - -src_install () { - dodoc README - # execs and libraries - cd "${S}"/build/bin - dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \ - || die "failed to install binaries" - insinto /usr/$(get_libdir)/${PN} - # fix install_name on macos, the build system is buggy enough not to add extra for OS X. - if [[ ${CHOST} == *-darwin* ]] ; then - for d in *.so ; do - install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${PN}/${d}" "${d}" - done - fi - doins *.so || die "failed to install libraries" - - dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \ - || die "failed to create symbolic link" - - # stuff from the share tar ball - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} - insinto /usr/share/${PN} - doins -r LIB || die "failed to install lib files" - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die "failed to install examples" - fi - if use doc; then - dohtml -r html/* || die "failed to install html docs" - insinto /usr/share/${PN} - doins doc/singular.idx || die "failed to install idx file" - cp info/${PN}.hlp info/${PN}.info && - doinfo info/${PN}.info \ - || die "failed to install info files" - fi - if use emacs; then - elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - einfo "The authors ask you to register as a SINGULAR user." - einfo "Please check the license file for details." - - if use emacs; then - echo - ewarn "Please note that the ESingular emacs wrapper has been" - ewarn "removed in favor of full fledged singular support within" - ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" - ewarn "and you should be good to go! See bug #193411 for more info." - echo - fi - - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/singular/singular-3.1.3.1.ebuild b/sci-mathematics/singular/singular-3.1.3.1.ebuild deleted file mode 100644 index 5b609e2e93d7..000000000000 --- a/sci-mathematics/singular/singular-3.1.3.1.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.3.1.ebuild,v 1.1 2011/05/03 14:51:47 tomka Exp $ - -EAPI="3" -WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix - -# Upstream does not care about tests. -RESTRICT="test" - -inherit autotools eutils elisp-common flag-o-matic multilib prefix versionator - -MY_PN=Singular -MY_PV=$(replace_all_version_separators -) -MY_DIR=$(get_version_component_range 1-3 ${MY_PV}) -# There 'share' tarball does not get updated on every release -MY_SHARE_DIR="3-1-3" -MY_PV_SHARE="${MY_PV}" - -DESCRIPTION="Computer algebra system for polynomial computations" -HOMEPAGE="http://www.singular.uni-kl.de/" -SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/" -# Share stuff did not see a new version: -SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz - ${SRC_COM}${MY_SHARE_DIR}/Singular-${MY_PV_SHARE}-share.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~x86-macos" -IUSE="boost doc emacs examples +readline test" - -RDEPEND="dev-libs/gmp - >=dev-libs/ntl-5.5.1 - emacs? ( >=virtual/emacs-22 )" - -DEPEND="${RDEPEND} - dev-lang/perl - boost? ( dev-libs/boost ) - readline? ( sys-libs/readline ) - test? ( dev-util/cmake - dev-util/cppunit )" - -S="${WORKDIR}"/${MY_PN}-${MY_DIR} -SITEFILE=60${PN}-gentoo.el - -pkg_setup() { - append-flags "-fPIC" - append-ldflags "-fPIC" - tc-export CC CPP CXX - - # Ensure that >=emacs-22 is selected - if use emacs; then - elisp-need-emacs 22 || die "Emacs version too low" - fi -} - -src_prepare () { - epatch "${FILESDIR}"/${PN}-3.1.0-gentoo.patch - epatch "${FILESDIR}"/${PN}-3.1.0-emacs-22.patch - epatch "${FILESDIR}"/${PN}-3.0.4.4-nostrip.patch - - eprefixify kernel/feResource.cc - - sed -i \ - -e "/CXXFLAGS/ s/--no-exceptions//g" \ - -e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"/" \ - "${S}"/Singular/configure.in || die - - cd "${S}"/Singular || die "failed to cd into Singular/" - eautoconf -} - -src_configure() { - - econf \ - --prefix="${S}"/build \ - --exec-prefix="${S}"/build \ - --bindir="${S}"/build/bin \ - --libdir="${S}"/build/lib \ - --libexecdir="${S}"/build/lib \ - --includedir="${S}"/build/include \ - --with-apint=gmp \ - --with-gmp="${EPREFIX}"/usr \ - --disable-NTL \ - --disable-debug \ - --disable-doc \ - --without-MP \ - --enable-factory \ - --enable-libfac \ - --enable-IntegerProgramming \ - --enable-Singular \ - $(use_with boost Boost) \ - $(use_enable emacs) \ - $(use_with readline) || die "configure failed" -} - -src_compile() { - emake || die "emake failed" - - if use emacs; then - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/ - elisp-compile *.el || die "elisp-compile failed" - fi -} - -src_test() { - # Tests fail to link -lsingular, upstream ticket #243 - emake test || die "tests failed" -} - -src_install () { - dodoc README - # execs and libraries - cd "${S}"/build/bin - dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \ - || die "failed to install binaries" - insinto /usr/$(get_libdir)/${PN} - # fix install_name on macos, the build system is buggy enough not to add extra for OS X. - if [[ ${CHOST} == *-darwin* ]] ; then - for d in *.so ; do - install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${PN}/${d}" "${d}" - done - fi - doins *.so || die "failed to install libraries" - - dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \ - || die "failed to create symbolic link" - - # stuff from the share tar ball - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} - insinto /usr/share/${PN} - doins -r LIB || die "failed to install lib files" - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die "failed to install examples" - fi - if use doc; then - dohtml -r html/* || die "failed to install html docs" - insinto /usr/share/${PN} - doins doc/singular.idx || die "failed to install idx file" - cp info/${PN}.hlp info/${PN}.info && - doinfo info/${PN}.info \ - || die "failed to install info files" - fi - if use emacs; then - elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - einfo "The authors ask you to register as a SINGULAR user." - einfo "Please check the license file for details." - - if use emacs; then - echo - ewarn "Please note that the ESingular emacs wrapper has been" - ewarn "removed in favor of full fledged singular support within" - ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" - ewarn "and you should be good to go! See bug #193411 for more info." - echo - fi - - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/singular/singular-3.1.3.3.ebuild b/sci-mathematics/singular/singular-3.1.3.3.ebuild deleted file mode 100644 index ca0860495cfa..000000000000 --- a/sci-mathematics/singular/singular-3.1.3.3.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.3.3.ebuild,v 1.1 2011/12/23 12:49:25 tomka Exp $ - -EAPI="3" -WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix - -# Upstream does not care about tests. -RESTRICT="test" - -inherit autotools eutils elisp-common flag-o-matic multilib prefix versionator - -MY_PN=Singular -MY_PV=$(replace_all_version_separators -) -MY_DIR=$(get_version_component_range 1-3 ${MY_PV}) -# There 'share' tarball does not get updated on every release -MY_SHARE_DIR="3-1-3" -MY_PV_SHARE="${MY_PV}" - -DESCRIPTION="Computer algebra system for polynomial computations" -HOMEPAGE="http://www.singular.uni-kl.de/" -SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/" -# Share stuff did not see a new version: -SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz - ${SRC_COM}${MY_SHARE_DIR}/Singular-${MY_PV_SHARE}-share.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~x86-macos" -IUSE="boost doc emacs examples +readline test" - -RDEPEND="dev-libs/gmp - >=dev-libs/ntl-5.5.1 - emacs? ( >=virtual/emacs-22 )" - -DEPEND="${RDEPEND} - dev-lang/perl - boost? ( dev-libs/boost ) - readline? ( sys-libs/readline ) - test? ( dev-util/cmake - dev-util/cppunit )" - -S="${WORKDIR}"/${MY_PN}-${MY_DIR} -SITEFILE=60${PN}-gentoo.el - -pkg_setup() { - append-flags "-fPIC" - append-ldflags "-fPIC" - tc-export CC CPP CXX - - # Ensure that >=emacs-22 is selected - if use emacs; then - elisp-need-emacs 22 || die "Emacs version too low" - fi -} - -src_prepare () { - epatch "${FILESDIR}"/${PN}-3.1.0-gentoo.patch - epatch "${FILESDIR}"/${PN}-3.1.0-emacs-22.patch - epatch "${FILESDIR}"/${PN}-3.0.4.4-nostrip.patch - epatch "${FILESDIR}"/${PN}-3.1.3.3-Minor.h.patch - # fix parallel make issue reported upstream http://www.singular.uni-kl.de:8002/trac/ticket/395 - epatch "${FILESDIR}"/${PN}-3.1.3.3.make_parallel.2.patch - - if [[ ${CHOST} == *-darwin* ]] ; then - epatch "${FILESDIR}"/${PN}-3.1.3.3-os_x_ppc.patch - fi - - eprefixify kernel/feResource.cc - - sed -i \ - -e "/CXXFLAGS/ s/--no-exceptions//g" \ - -e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"/" \ - "${S}"/Singular/configure.in || die - - cd "${S}"/Singular || die "failed to cd into Singular/" - eautoconf -} - -src_configure() { - - econf \ - --prefix="${S}"/build \ - --exec-prefix="${S}"/build \ - --bindir="${S}"/build/bin \ - --libdir="${S}"/build/lib \ - --libexecdir="${S}"/build/lib \ - --includedir="${S}"/build/include \ - --with-apint=gmp \ - --with-gmp="${EPREFIX}"/usr \ - --disable-NTL \ - --disable-debug \ - --disable-doc \ - --without-MP \ - --enable-factory \ - --enable-libfac \ - --enable-IntegerProgramming \ - --enable-Singular \ - $(use_with boost Boost) \ - $(use_enable emacs) \ - $(use_with readline) || die "configure failed" -} - -src_compile() { - emake || die "emake failed" - - if use emacs; then - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/ - elisp-compile *.el || die "elisp-compile failed" - fi -} - -src_test() { - # Tests fail to link -lsingular, upstream ticket #243 - emake test || die "tests failed" -} - -src_install () { - dodoc README - # execs and libraries - cd "${S}"/build/bin - dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \ - || die "failed to install binaries" - insinto /usr/$(get_libdir)/${PN} - # fix install_name on macos, the build system is buggy enough not to add extra for OS X. - if [[ ${CHOST} == *-darwin* ]] ; then - for d in *.so ; do - install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${PN}/${d}" "${d}" - done - fi - doins *.so || die "failed to install libraries" - - dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \ - || die "failed to create symbolic link" - - # stuff from the share tar ball - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} - insinto /usr/share/${PN} - doins -r LIB || die "failed to install lib files" - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die "failed to install examples" - fi - if use doc; then - dohtml -r html/* || die "failed to install html docs" - insinto /usr/share/${PN} - doins doc/singular.idx || die "failed to install idx file" - cp info/${PN}.hlp info/${PN}.info && - doinfo info/${PN}.info \ - || die "failed to install info files" - fi - if use emacs; then - elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - einfo "The authors ask you to register as a SINGULAR user." - einfo "Please check the license file for details." - - if use emacs; then - echo - ewarn "Please note that the ESingular emacs wrapper has been" - ewarn "removed in favor of full fledged singular support within" - ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" - ewarn "and you should be good to go! See bug #193411 for more info." - echo - fi - - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/singular/singular-3.1.4-r1.ebuild b/sci-mathematics/singular/singular-3.1.4-r1.ebuild deleted file mode 100644 index ced561d4263f..000000000000 --- a/sci-mathematics/singular/singular-3.1.4-r1.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.4-r1.ebuild,v 1.4 2012/06/23 10:50:20 xarthisius Exp $ - -EAPI="3" -WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix - -PYTHON_DEPEND="python? 2" - -# Upstream does not care about tests. -RESTRICT="test" - -inherit autotools eutils elisp-common flag-o-matic multilib prefix python versionator - -MY_PN=Singular -MY_PV=$(replace_all_version_separators -) -MY_DIR=$(get_version_component_range 1-3 ${MY_PV}) -# There 'share' tarball does not get updated on every release -MY_SHARE_DIR="3-1-4" -MY_PV_SHARE="${MY_PV}" - -DESCRIPTION="Computer algebra system for polynomial computations" -HOMEPAGE="http://www.singular.uni-kl.de/" -SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/" -# Share stuff did not see a new version: -SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz - ${SRC_COM}${MY_SHARE_DIR}/Singular-${MY_PV_SHARE}-share.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~x86-linux ~x86-macos" -IUSE="boost doc emacs examples python +readline test" - -RDEPEND="dev-libs/gmp - >=dev-libs/ntl-5.5.1 - emacs? ( >=virtual/emacs-22 )" - -DEPEND="${RDEPEND} - dev-lang/perl - boost? ( dev-libs/boost ) - readline? ( sys-libs/readline )" - -S="${WORKDIR}"/${MY_PN}-${MY_DIR} -SITEFILE=60${PN}-gentoo.el - -pkg_setup() { - append-flags "-fPIC" - append-ldflags "-fPIC" - tc-export CC CPP CXX - - # Ensure that >=emacs-22 is selected - if use emacs; then - elisp-need-emacs 22 || die "Emacs version too low" - fi - - if use python; then - python_set_active_version 2 - python_pkg_setup - fi -} - -src_prepare () { - epatch "${FILESDIR}"/${PN}-3.1.0-gentoo.patch - epatch "${FILESDIR}"/${PN}-3.1.0-emacs-22.patch - epatch "${FILESDIR}"/${PN}-3.0.4.4-nostrip.patch - epatch "${FILESDIR}"/${PN}-3.1.3.3-Minor.h.patch - use python && epatch "${FILESDIR}"/${PN}-3.1.3.2-python.patch - - if [[ ${CHOST} == *-darwin* ]] ; then - epatch "${FILESDIR}"/${PN}-3.1.3.3-install_name.patch - eprefixify kernel/Makefile.in - eprefixify Singular/Makefile.in - fi - - eprefixify kernel/feResource.cc - - # The SLDFLAGS mangling prevents passing raw LDLAGS to gcc (see e.g. bug 414709) - sed -i \ - -e "/CXXFLAGS/ s/--no-exceptions//g" \ - -e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"\n\t \tSLDFLAGS2=\"${LDFLAGS} -shared\"/" \ - -e "s/ SLDFLAGS=/ SLDFLAGS=\n SLDFLAGS2=/" \ - -e "s/AC_SUBST(SLDFLAGS)/AC_SUBST(SLDFLAGS)\nAC_SUBST(SLDFLAGS2)/" \ - "${S}"/Singular/configure.in || die - - sed -i \ - -e "s/@SLDFLAGS@/@SLDFLAGS@\nSLDFLAGS2\t= @SLDFLAGS2@/" \ - -e "/\$(CXX).*SLDFLAGS/s/SLDFLAGS/SLDFLAGS2/" \ - "${S}"/Singular/Makefile.in || die - - cd "${S}"/Singular || die "failed to cd into Singular/" - eautoconf -} - -src_configure() { - - econf \ - --prefix="${S}"/build \ - --exec-prefix="${S}"/build \ - --bindir="${S}"/build/bin \ - --libdir="${S}"/build/lib \ - --libexecdir="${S}"/build/lib \ - --includedir="${S}"/build/include \ - --with-apint=gmp \ - --with-gmp="${EPREFIX}"/usr \ - --disable-NTL \ - --disable-debug \ - --disable-doc \ - --without-MP \ - --enable-factory \ - --enable-libfac \ - --enable-IntegerProgramming \ - --enable-Singular \ - --with-malloc=system \ - $(use_with python python embed) \ - $(use_with boost Boost) \ - $(use_enable emacs) \ - $(use_with readline) || die "configure failed" -} - -src_compile() { - emake || die "emake failed" - - if use emacs; then - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/ - elisp-compile *.el || die "elisp-compile failed" - fi -} - -src_test() { - # Tests fail to link -lsingular, upstream ticket #243 - emake test || die "tests failed" -} - -src_install () { - dodoc README - # execs and libraries - cd "${S}"/build/bin - dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \ - || die "failed to install binaries" - insinto /usr/$(get_libdir)/${PN} - doins *.so || die "failed to install libraries" - - dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \ - || die "failed to create symbolic link" - - # stuff from the share tar ball - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} - insinto /usr/share/${PN} - doins -r LIB || die "failed to install lib files" - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die "failed to install examples" - fi - if use doc; then - dohtml -r html/* || die "failed to install html docs" - insinto /usr/share/${PN} - doins doc/singular.idx || die "failed to install idx file" - cp info/${PN}.hlp info/${PN}.info && - doinfo info/${PN}.info \ - || die "failed to install info files" - fi - if use emacs; then - elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - einfo "The authors ask you to register as a SINGULAR user." - einfo "Please check the license file for details." - - if use emacs; then - echo - ewarn "Please note that the ESingular emacs wrapper has been" - ewarn "removed in favor of full fledged singular support within" - ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" - ewarn "and you should be good to go! See bug #193411 for more info." - echo - fi - - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/singular/singular-3.1.4.ebuild b/sci-mathematics/singular/singular-3.1.4.ebuild deleted file mode 100644 index 8e873334db19..000000000000 --- a/sci-mathematics/singular/singular-3.1.4.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.4.ebuild,v 1.1 2012/03/24 21:28:09 tomka Exp $ - -EAPI="3" -WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix - -PYTHON_DEPEND="python? 2" - -# Upstream does not care about tests. -RESTRICT="test" - -inherit autotools eutils elisp-common flag-o-matic multilib prefix python versionator - -MY_PN=Singular -MY_PV=$(replace_all_version_separators -) -MY_DIR=$(get_version_component_range 1-3 ${MY_PV}) -# There 'share' tarball does not get updated on every release -MY_SHARE_DIR="3-1-4" -MY_PV_SHARE="${MY_PV}" - -DESCRIPTION="Computer algebra system for polynomial computations" -HOMEPAGE="http://www.singular.uni-kl.de/" -SRC_COM="http://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/" -# Share stuff did not see a new version: -SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz - ${SRC_COM}${MY_SHARE_DIR}/Singular-${MY_PV_SHARE}-share.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~x86-macos" -IUSE="boost doc emacs examples python +readline test" - -RDEPEND="dev-libs/gmp - >=dev-libs/ntl-5.5.1 - emacs? ( >=virtual/emacs-22 )" - -DEPEND="${RDEPEND} - dev-lang/perl - boost? ( dev-libs/boost ) - readline? ( sys-libs/readline )" - -S="${WORKDIR}"/${MY_PN}-${MY_DIR} -SITEFILE=60${PN}-gentoo.el - -pkg_setup() { - append-flags "-fPIC" - append-ldflags "-fPIC" - tc-export CC CPP CXX - - # Ensure that >=emacs-22 is selected - if use emacs; then - elisp-need-emacs 22 || die "Emacs version too low" - fi - - if use python; then - python_set_active_version 2 - python_pkg_setup - fi -} - -src_prepare () { - epatch "${FILESDIR}"/${PN}-3.1.0-gentoo.patch - epatch "${FILESDIR}"/${PN}-3.1.0-emacs-22.patch - epatch "${FILESDIR}"/${PN}-3.0.4.4-nostrip.patch - epatch "${FILESDIR}"/${PN}-3.1.3.3-Minor.h.patch - use python && epatch "${FILESDIR}"/${PN}-3.1.3.2-python.patch - - if [[ ${CHOST} == *-darwin* ]] ; then - epatch "${FILESDIR}"/${PN}-3.1.3.3-install_name.patch - eprefixify kernel/Makefile.in - eprefixify Singular/Makefile.in - fi - - eprefixify kernel/feResource.cc - - sed -i \ - -e "/CXXFLAGS/ s/--no-exceptions//g" \ - -e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"/" \ - "${S}"/Singular/configure.in || die - - cd "${S}"/Singular || die "failed to cd into Singular/" - eautoconf -} - -src_configure() { - - econf \ - --prefix="${S}"/build \ - --exec-prefix="${S}"/build \ - --bindir="${S}"/build/bin \ - --libdir="${S}"/build/lib \ - --libexecdir="${S}"/build/lib \ - --includedir="${S}"/build/include \ - --with-apint=gmp \ - --with-gmp="${EPREFIX}"/usr \ - --disable-NTL \ - --disable-debug \ - --disable-doc \ - --without-MP \ - --enable-factory \ - --enable-libfac \ - --enable-IntegerProgramming \ - --enable-Singular \ - --with-malloc=system \ - $(use_with python python embed) \ - $(use_with boost Boost) \ - $(use_enable emacs) \ - $(use_with readline) || die "configure failed" -} - -src_compile() { - emake || die "emake failed" - - if use emacs; then - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR}/emacs/ - elisp-compile *.el || die "elisp-compile failed" - fi -} - -src_test() { - # Tests fail to link -lsingular, upstream ticket #243 - emake test || die "tests failed" -} - -src_install () { - dodoc README - # execs and libraries - cd "${S}"/build/bin - dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \ - || die "failed to install binaries" - insinto /usr/$(get_libdir)/${PN} - doins *.so || die "failed to install libraries" - - dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \ - || die "failed to create symbolic link" - - # stuff from the share tar ball - cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} - insinto /usr/share/${PN} - doins -r LIB || die "failed to install lib files" - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples || die "failed to install examples" - fi - if use doc; then - dohtml -r html/* || die "failed to install html docs" - insinto /usr/share/${PN} - doins doc/singular.idx || die "failed to install idx file" - cp info/${PN}.hlp info/${PN}.info && - doinfo info/${PN}.info \ - || die "failed to install info files" - fi - if use emacs; then - elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - einfo "The authors ask you to register as a SINGULAR user." - einfo "Please check the license file for details." - - if use emacs; then - echo - ewarn "Please note that the ESingular emacs wrapper has been" - ewarn "removed in favor of full fledged singular support within" - ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" - ewarn "and you should be good to go! See bug #193411 for more info." - echo - fi - - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |