Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429982 - sci-visualization/fityk-1.2.0 version bump
Summary: sci-visualization/fityk-1.2.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2012-08-05 10:37 UTC by Dominik Kriegner
Modified: 2012-08-06 23:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for new version 1.2.0 (fityk-1.2.0.ebuild,2.37 KB, text/plain)
2012-08-05 10:40 UTC, Dominik Kriegner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Kriegner 2012-08-05 10:37:11 UTC
fityk-1.2.0 was released on 2012-05-24
I suggest to add the new version (also masked) instead of the masked version 1.1.1 

Reproducible: Always
Comment 1 Dominik Kriegner 2012-08-05 10:40:04 UTC
Created attachment 320444 [details]
ebuild for new version 1.2.0

a few things had to be changed with respect to the old ebuild because of changes in the upstream code.
i have no idea if the thing with the python bindings should be done as it is now, maybe someone can check that!
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-05 11:47:56 UTC
Comment on attachment 320444 [details]
ebuild for new version 1.2.0

--- fityk-1.1.1.ebuild  2012-02-27 07:07:42.000000000 +0100
+++ -   2012-08-05 13:47:41.744771316 +0200
@@ -9,22 +9,20 @@
 PYTHON_DEPEND="python? 2"
 SUPPORT_PYTHON_ABIS="1"
 GITHUB_USER="wojdyr"
-GITTAG="772ddee"
-S="${WORKDIR}/${GITHUB_USER}-${PN}-${GITTAG}"
 
 inherit python wxwidgets autotools fdo-mime
 
 DESCRIPTION="General-purpose nonlinear curve fitting and data analysis"
 HOMEPAGE="http://fityk.nieto.pl/"
-SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+SRC_URI="http://github.com/downloads/${GITHUB_USER}/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc gnuplot readline python static-libs wxwidgets"
+IUSE="gnuplot readline python static-libs wxwidgets"
 
 CDEPEND=">=sci-libs/xylib-0.8
-       dev-lang/lua
+       >=dev-lang/lua-5.1
        readline? ( sys-libs/readline )
        wxwidgets? ( >=x11-libs/wxGTK-2.9.2 )"

@@ -42,15 +40,14 @@
 }
 
 src_prepare() {
-       eautoreconf
        has_version "<dev-libs/boost-1.37" && \
                sed -i -e 's:impl/directives.hpp:directives.ipp:g' \
                "${S}/src/optional_suffix.h"

        sed '/^LTLIBRARIES/s:$(pyexec_LTLIBRARIES)::g' \
-               -i swig/Makefile.in
+               -i ${PN}/Makefile.in
        if use python; then
-               echo '#!/bin/sh' > config/py-compile
+               echo '#!/bin/sh' > build-aux/py-compile
        fi
 }

@@ -61,13 +58,12 @@
                $(use_enable python) \
                $(use_enable static-libs static) \
                $(use_enable wxwidgets GUI) \
-               $(use_with doc) \
                $(use_with readline)
 }
 
 src_compile() {
-       use python && python_copy_sources swig
        default
+       use python && python_copy_sources ${PN}
        if use python; then
                compilation() {
                        emake \
@@ -76,9 +72,9 @@               
                                PYTHON_SITE_PKG="$(python_get_sitedir)" \
                                PYTHON_VERSION="$(python_get_version)" \
                                pyexecdir="$(python_get_sitedir)" \
-                               _fityk.la
+                               swig/_fityk.la
                }
-               python_execute_function -s --source-dir swig compilation
+               python_execute_function -s --source-dir ${PN} compilation
        fi
 }

@@ -90,9 +86,9 @@               
                                DESTDIR="${D}" \
                                pyexecdir="$(python_get_sitedir)" \
                                pythondir="$(python_get_sitedir)" \
-                               install
+                               install-pyexecLTLIBRARIES
                }
-               python_execute_function -s --source-dir swig installation
+               python_execute_function -s --source-dir ${PN} installation
                python_clean_installation_image
        fi
 }
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2012-08-06 23:41:01 UTC
in cvs. thanks!