From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-mathematics/pspp/Manifest | 8 +++ sci-mathematics/pspp/files/50pspp-gentoo.el | 6 +++ sci-mathematics/pspp/metadata.xml | 16 ++++++ sci-mathematics/pspp/pspp-0.10.1.ebuild | 78 +++++++++++++++++++++++++++++ sci-mathematics/pspp/pspp-0.10.2.ebuild | 78 +++++++++++++++++++++++++++++ 5 files changed, 186 insertions(+) create mode 100644 sci-mathematics/pspp/Manifest create mode 100644 sci-mathematics/pspp/files/50pspp-gentoo.el create mode 100644 sci-mathematics/pspp/metadata.xml create mode 100644 sci-mathematics/pspp/pspp-0.10.1.ebuild create mode 100644 sci-mathematics/pspp/pspp-0.10.2.ebuild (limited to 'sci-mathematics/pspp') diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest new file mode 100644 index 000000000000..b9ce5fbee537 --- /dev/null +++ b/sci-mathematics/pspp/Manifest @@ -0,0 +1,8 @@ +AUX 50pspp-gentoo.el 171 SHA256 92296e81ab389b4c639a67cd015e19d63cf8e40664a95fc568c2c6b6e7608940 SHA512 3e50a08018a0892df4beb400041ec682c94446b4e05ce7d5907ef20eace5426245e684160e85c8629650b8a911e92ef98200638dea1f12d0304fb4e1a8db5883 WHIRLPOOL b6193455db73c4cc90f4548179a77b8a10cbb8a3cdefede9834c4a4e4a9470d6e85474dbd411a8e0015d4b95f6c59574eff4036c7079bd1a1ad1c2c6aee7b482 +DIST pspp-0.10.1.tar.gz 7269109 SHA256 44cc08864de736880bc0d7e2b1f8c8493ac0e0c2164a4f9471077608f00c8677 SHA512 a7f4eec3858340743ff845e67028af76d79a58968ceaa19a87e0443751917b2d70251e53231ecce15c937c9640ac733e00603baa76b4266d693375ab70b870b5 WHIRLPOOL 9a195051d5279a86cd05d586ca5a845443f08346f47aec859a3e768c38d5517f23f47d40cc6fb00c6af6c01af624d251575edfb34dfb0f7c7ee3def1a008a1c7 +DIST pspp-0.10.2.tar.gz 7316470 SHA256 f77cacae6948689a60f1a5808a5d2e183c1cd0847c7fc6142646c63814c0daa9 SHA512 7d6656c03da46b088e87cba7a947d1e56031ff50d704be8201a38563515cf5cf324a05f1d4999ba8aec7b2269a8fdbd09374a11374c9c1b9dd6d78d34fda4b76 WHIRLPOOL f66f0ca98dce4de4b323aa42445d0c8fe3c7d252cd8ed6d1ad1dd961186bf063b9c92114a92e9afb2149b35c03fa595720c8a35b33ff81a56eb5e9e029c85119 +EBUILD pspp-0.10.1.ebuild 1661 SHA256 118265448d0a763a19748141872e605f62b9b75210bde7c9d3bdb93a051fe81e SHA512 3d973985731036f3d9c4858cd5aa58cd1159c64a2f5f4f6f7ec48f00034c4340a9cbfe203a90228529d2a4677004b5da69c488a1a2683224e5450d3ed276dd29 WHIRLPOOL f1c666bd44f0309b0dedb5c6f9b58a92606be747dbb6464d53f3b005f169f32bd2d125a54b0c7f3702fd49298f9d08b96c3b67279a877aefd98dbd9448491e71 +EBUILD pspp-0.10.2.ebuild 1663 SHA256 62006aa78bb694867abe80bece9749a19b1de40775cca77fd434b119b31bc6eb SHA512 0279462e9e548d042a50f92adf568aaccc8286c90146cc904a1ee2b962b320f229cf24d96fd23fb86fb2898781e7548586815266f16c94a868106db654f90b35 WHIRLPOOL edef9c8e47cb5169fe6a5e952b540905e3f7eb9166d13c282d17698d586bb67380a924693482da1b43d049eb306dba0007dfa3c1e9ea04dc74bd19343f9dd017 +MISC ChangeLog 3769 SHA256 266d1592970eba69499b422737dc9965c5c1e77618497b517a895d0c120fe721 SHA512 72116921fc2f1e51cef74008be1c339c897c69dd218adaa60ce2f3f4fc0f256828739e0527dd4a93abbe50eb1541b14046688973678e99fedcf15bfe0c8cb45d WHIRLPOOL a87c96babf2c23b3bd55a483607714e1c8ee2f4ef70056ecda52b42cad9e458fb179641b46381f5f896f13e6dbbf93eae05ed6afafbf41a76a4d6c0dbb012575 +MISC ChangeLog-2015 5628 SHA256 0cd86d46d257fad2be0857cdeda86cfe0929504a6e9c62935b17a3863e777157 SHA512 dcb9406ae5e9f69eb7d8803f9cd6907b48c0de9e2f696c8d0664a07ea330b001875d5c53d3f409495fd29ed77c390231e14230748e51c4dbade1bdf943d8abc1 WHIRLPOOL b2aec9bc44bcd830b8a2a476b8720121d7069fc3f04ec4377e6f60befd3ae9f93bd0eaa0d049dfd176cff9fc436eb4f1341f3739eb504f6783ffe998ac397b23 +MISC metadata.xml 712 SHA256 d3c78f8e06b94d5b91188033e33251ca25475c4ebbdc2f0a2095b122a3fa482c SHA512 a94036498ca6905c251617d7a60c295e0deca5199a6e9003e4e5df66f8d156aa397ca8428e7bb066860423acd2a317a4286bf2bc3e9655e7d361861a6b4e8acc WHIRLPOOL 31c1b23604853432f84e8a90f6650aad2a3b9e74ed9e5f291d3fa74e749e369b9f21c67e5cafc5c8d97b4c8dd76d3f56f4f8a7f0cba3cdd7f82c4891e886fa32 diff --git a/sci-mathematics/pspp/files/50pspp-gentoo.el b/sci-mathematics/pspp/files/50pspp-gentoo.el new file mode 100644 index 000000000000..adac2e8ed1da --- /dev/null +++ b/sci-mathematics/pspp/files/50pspp-gentoo.el @@ -0,0 +1,6 @@ + +;;; pspp site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'pspp-mode "pspp-mode" nil t) +(add-to-list 'auto-mode-alist '("\\.sps\\'" . pspp-mode)) diff --git a/sci-mathematics/pspp/metadata.xml b/sci-mathematics/pspp/metadata.xml new file mode 100644 index 000000000000..4f8e8d04e96b --- /dev/null +++ b/sci-mathematics/pspp/metadata.xml @@ -0,0 +1,16 @@ + + + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + PSPP is a program for statistical analysis of sampled data. It + interprets commands in the SPSS language and produces tabular and + graphical output in ASCII, HTML, or PostScript format. + PSPP supports a large subset of SPSS's transformation language. Its + statistical procedure support is limited but growing. + PSPP has both text-based and a GTK+ based graphical user interfaces. + + diff --git a/sci-mathematics/pspp/pspp-0.10.1.ebuild b/sci-mathematics/pspp/pspp-0.10.1.ebuild new file mode 100644 index 000000000000..f1d6cf513599 --- /dev/null +++ b/sci-mathematics/pspp/pspp-0.10.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils elisp-common + +DESCRIPTION="Program for statistical analysis of sampled data" +HOMEPAGE="https://www.gnu.org/software/pspp/pspp.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="cairo doc emacs examples gtk ncurses nls perl postgres static-libs" + +RDEPEND=" + dev-libs/libxml2:2= + sci-libs/gsl:0= + sys-devel/gettext:0= + sys-libs/readline:0= + sys-libs/zlib:0= + virtual/libiconv + cairo? ( x11-libs/cairo:0=[svg] ) + emacs? ( virtual/emacs ) + gtk? ( + x11-libs/gtk+:3= + x11-libs/gtksourceview:3.0= ) + ncurses? ( sys-libs/ncurses:0= ) + postgres? ( dev-db/postgresql:=[server] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( virtual/latex-base )" + +SITEFILE=50${PN}-gentoo.el + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable static-libs static) \ + $(use_with cairo) \ + $(use_with gtk gui) \ + $(use_with ncurses libncurses) \ + $(use_with perl perl-module) \ + $(use_with postgres libpq) +} + +src_compile() { + default + use doc && emake html pdf + use emacs && elisp-compile *.el +} + +src_install() { + default + if use doc; then + dodoc doc/pspp{,-dev}.pdf + insinto /usr/share/doc/${PF}/html + dodoc -r doc/pspp{,-dev}.html + fi + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi + if use emacs; then + elisp-install ${PN} *.el *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + prune_libtool_files --all +} + +pkg_postinst () { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sci-mathematics/pspp/pspp-0.10.2.ebuild b/sci-mathematics/pspp/pspp-0.10.2.ebuild new file mode 100644 index 000000000000..4492cc326fbb --- /dev/null +++ b/sci-mathematics/pspp/pspp-0.10.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils elisp-common + +DESCRIPTION="Program for statistical analysis of sampled data" +HOMEPAGE="https://www.gnu.org/software/pspp/pspp.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cairo doc emacs examples gtk ncurses nls perl postgres static-libs" + +RDEPEND=" + dev-libs/libxml2:2= + sci-libs/gsl:0= + sys-devel/gettext:0= + sys-libs/readline:0= + sys-libs/zlib:0= + virtual/libiconv + cairo? ( x11-libs/cairo:0=[svg] ) + emacs? ( virtual/emacs ) + gtk? ( + x11-libs/gtk+:3= + x11-libs/gtksourceview:3.0= ) + ncurses? ( sys-libs/ncurses:0= ) + postgres? ( dev-db/postgresql:=[server] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( virtual/latex-base )" + +SITEFILE=50${PN}-gentoo.el + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable static-libs static) \ + $(use_with cairo) \ + $(use_with gtk gui) \ + $(use_with ncurses libncurses) \ + $(use_with perl perl-module) \ + $(use_with postgres libpq) +} + +src_compile() { + default + use doc && emake html pdf + use emacs && elisp-compile *.el +} + +src_install() { + default + if use doc; then + dodoc doc/pspp{,-dev}.pdf + insinto /usr/share/doc/${PF}/html + dodoc -r doc/pspp{,-dev}.html + fi + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi + if use emacs; then + elisp-install ${PN} *.el *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + prune_libtool_files --all +} + +pkg_postinst () { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3