diff options
Diffstat (limited to 'sci-mathematics/nauty')
-rw-r--r-- | sci-mathematics/nauty/Manifest | 9 | ||||
-rw-r--r-- | sci-mathematics/nauty/metadata.xml | 14 | ||||
-rw-r--r-- | sci-mathematics/nauty/nauty-2.5.9.ebuild | 41 | ||||
-rw-r--r-- | sci-mathematics/nauty/nauty-2.6.7.ebuild | 48 |
4 files changed, 112 insertions, 0 deletions
diff --git a/sci-mathematics/nauty/Manifest b/sci-mathematics/nauty/Manifest new file mode 100644 index 000000000000..6ea5f7d8b4ff --- /dev/null +++ b/sci-mathematics/nauty/Manifest @@ -0,0 +1,9 @@ +DIST nauty-popcnt.patch 56034 SHA256 0dc2e0374491dddf5757f0717d0ea3f949f85b540202385662f10c358b4a08e8 SHA512 4931440b6178cb668997539ac2991f0d04758b8750668d4477cb8a456640640c5bb71c2858e423a4ad812e3401151834366e04693bf9a5ecc5ccc211d2e4229c WHIRLPOOL 5ca13e3295922ccf34ef2e8563bc24e941c401d709ab7f84c6846bfb23440eca4b1c323734b2157fc54dcc859883bcf282140819a51ef7f3da8399913daa821d +DIST nauty25r9.tar.gz 1007323 SHA256 602d0e2e5ab1bdc84ab69f75ebc065833501bd2875cb07b1bb4274e3dd632825 SHA512 79f9054f1d39406063f4cbab61002b27f260b93fd37d6346efdfcd113c59ebab54320e6e7b6cdf26c7eddc376e4ad558e2cd4e6071d418dce2a6918f3c8f7ca2 WHIRLPOOL 0dcce5a74ac5874c5a510cd0d302b5d73897ee3cfaa208945de464e057a4b0af2ba4e717e8d331c51d5065d45363a339e0cd746a0a8fda179ec616b1443e2f63 +DIST nauty26r7.tar.gz 1660659 SHA256 97b5648de17645895cbd56a9a0b3e23cf01f5332c476d013ea459f1a0363cdc6 SHA512 60a724264b43b48338c17240c3cf7156f408267f1b2df995ea7b5ab9fa48852cb11057e83178a364ca028d80dc9124ca9b38cdac34e150a995475140d07c8af6 WHIRLPOOL 16874b8f6874d64a1bff4d2b4f856cc9156dd182b75fe4a3e60754e4bbbd5484733242301ec9763c2c3948b081e1ba0a9271b06226da71f1fc97009c973f2b72 +DIST nauty_2.6r7+ds-1.debian.tar.xz 30328 SHA256 3197d57f3f1b9afe494c9bda07270d9d9aecd5ef213eada77cfaeadfc80c1969 SHA512 fadde6a767e43048980842415207613ffeaa38d021fbf6a3f26a4bbe6877a92ddf5950094de517edd0f924deeacc8dec1d6a7334123c2a87d15befcc3876bc63 WHIRLPOOL 8b17bd77af54b77f089dd495974df965cb6c163106b0686601433b6f264fc33e601454222b520ad0c9e267a28ac8b1b94be28347fd67cece315f98827628ddaa +EBUILD nauty-2.5.9.ebuild 945 SHA256 93b46920be99fd49f2338ab43330d875383dfd36dfa869acd7b5a43acab55dc1 SHA512 4206a0203297ca7b5e71286b0db9a26bf9e335867ffccc3edcd85df09688cb7b15f6aa526b90a23760f23e019d251e3798bb1ef7ccc23c2a34db1deabb8aa422 WHIRLPOOL d0357ab6f39c41b1a082948e7099f2f1ae213dd5ceb7b64651378a44d8f61da0fd25ce1c5ba9a0520a9b6e5fde41ff852234951856c17d19baeef630fab4163e +EBUILD nauty-2.6.7.ebuild 1447 SHA256 1c8b4bc1fccc5a7a7eecf1377a1f1741e93438b552008ed179f5268f7d3c587a SHA512 83d1041bf1696b4b19dc1f4afc74f24d3106ed265b58d0ad23990744da43f2178fcc9b68fcaf05942534bd2992c50a93923cc7290336008cfa2b8c496f82f946 WHIRLPOOL b17be3998ae0ef8cc293a9876a1b711050a7d9b2b7c55d4ede930175cd2a40afe30be58c12b0f732efe43c99badd8a24da43ea926968e6f259f89eae3e101d3e +MISC ChangeLog 2598 SHA256 5fcb634217177d5fcc7d08b647b37ea6c41d9e1a797298d3a31c6fa2b334d190 SHA512 2997dfeab8fe8c593d70b72061d89dd24ae0eea6f8743f53dac28788e15686b746b836a8bd9b2de85fcb74901b76e4dd8eea610cca8083f314395a0de38b1a2c WHIRLPOOL 07a528ae7d0ae0c057c80e9b9f03c3d66f8ffe275b394d5fd6d52710d2ec4212b1568ad12f305f2909d5ad4455fb7a95eeec56361b0caa0bbd628c5d1138d4b9 +MISC ChangeLog-2015 1324 SHA256 a04a489d8ae75a7e9fd9f31b7361543dd0c023beb65996960c04e6192191301b SHA512 4ed7e45d5ebb1abb765d8d40867d0fc00a05b7b27be796bb70e8aeeb7502bbb9d9d1e82ee92abe1b95caa619e0fbcb9dcc3fdaeaa435986d4118fca34bb7d5e1 WHIRLPOOL 996bfcb23904debd5dd307fc8b20e886e93000dd4fb779fea9054cc589cf268a0f20060d69f363197f2e5f78592101d9f378997bad19088106fafdc12a994d46 +MISC metadata.xml 545 SHA256 a948e209f1d1083831477dbb35e333ca2419d116c48ee2c5791c9187175bea40 SHA512 19b48e8150e6776f4c51f80cc0b4d468cbb320a9468dfe298debe21177e13a2c9a41d7ef2a24b54c5e7986231402f72d7db19c6c8b075ae9a3f103c040dd9262 WHIRLPOOL a79ff412cae1098a821fe07283cdded79494fd107d29bd6754bc63ef6cb61bdba659c7b544bc91d38935fa30fdbd4faa619e1c720c047e7699d793f409b77ddc diff --git a/sci-mathematics/nauty/metadata.xml b/sci-mathematics/nauty/metadata.xml new file mode 100644 index 000000000000..de93a9455041 --- /dev/null +++ b/sci-mathematics/nauty/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription lang="en"> +nauty is a program for computing automorphism groups of graphs and digraphs. It can also produce a +canonical labelling. + +nauty is written in a portable subset of C, and runs on a considerable number of different systems. +</longdescription> +</pkgmetadata> diff --git a/sci-mathematics/nauty/nauty-2.5.9.ebuild b/sci-mathematics/nauty/nauty-2.5.9.ebuild new file mode 100644 index 000000000000..2caee75851ce --- /dev/null +++ b/sci-mathematics/nauty/nauty-2.5.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit versionator + +MY_PV=$(replace_version_separator 2 'r') +MY_PV=$(delete_version_separator 1 ${MY_PV}) + +DESCRIPTION="Computing automorphism groups of graphs and digraphs" +HOMEPAGE="http://pallini.di.uniroma1.it/" +SRC_URI="http://cs.anu.edu.au/~bdm/${PN}/${PN}${MY_PV}.tar.gz" + +LICENSE="nauty" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +S="${WORKDIR}/${PN}${MY_PV}" + +src_prepare () { + sed \ + -e "s/^LDFLAGS=.*/LDFLAGS=${LDFLAGS}/" \ + -e 's:${CC} -o:${CC} ${LDFLAGS} -o:g' \ + -e 's:${LDFLAGS}$::g' \ + -i makefile.in || die +} + +src_test () { + emake checks + ./runalltests +} + +src_install () { + dobin addedgeg amtog biplabg catg complg copyg countg \ + deledgeg directg dreadnaut dretog genbg geng genrang \ + gentourng labelg listg multig newedgeg NRswitchg pickg \ + planarg shortg showg + dodoc README formats.txt nug*.pdf +} diff --git a/sci-mathematics/nauty/nauty-2.6.7.ebuild b/sci-mathematics/nauty/nauty-2.6.7.ebuild new file mode 100644 index 000000000000..2e01267a151a --- /dev/null +++ b/sci-mathematics/nauty/nauty-2.6.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools versionator + +MY_PV1=$(replace_version_separator 2 'r') +MY_PV=$(delete_version_separator 1 ${MY_PV1}) + +DESCRIPTION="Computing automorphism groups of graphs and digraphs" +HOMEPAGE="http://pallini.di.uniroma1.it/" +DEBIAN_PATCH_VERSION="1" +SRC_URI="http://cs.anu.edu.au/~bdm/${PN}/${PN}${MY_PV}.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV1}+ds-${DEBIAN_PATCH_VERSION}.debian.tar.xz + http://pkgs.fedoraproject.org/cgit/rpms/nauty.git/plain/nauty-popcnt.patch" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +DEPEND="dev-libs/gmp:0 + sys-libs/zlib" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}${MY_PV}" +DOCS=( schreier.txt config.txt formats.txt changes24-26.txt ) +PATCHES=( + "${WORKDIR}"/debian/patches/upstream-lintian-spelling-error.patch + "${WORKDIR}"/debian/patches/upstream-fix-gt_numorbits.patch + "${WORKDIR}"/debian/patches/upstream-fix-include-extern.patch + "${WORKDIR}"/debian/patches/upstream-zlib-blisstog_c.patch + "${WORKDIR}"/debian/patches/upstream-C2help2man.patch + "${WORKDIR}"/debian/patches/upstream-autotoolization.patch + "${WORKDIR}"/debian/patches/system-preprocessing-examples.patch + "${DISTDIR}"/nauty-popcnt.patch +) + +src_prepare() { + default + rm -f makefile + eautoreconf +} + +src_configure() { + econf --disable-static --enable-runtime-popcnt --enable-tls +} |