Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544892 - =sci-mathematics/lybniz-1.3.2 new python eclasses port
Summary: =sci-mathematics/lybniz-1.3.2 new python eclasses port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2015-04-12
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PATCH, TESTED
Depends on:
Blocks:
 
Reported: 2015-03-29 01:53 UTC by Ian Delaney (RETIRED)
Modified: 2017-02-17 21:15 UTC (History)
0 users

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


Attachments
diff -u patch of ebuilds (lybniz.patch,1.03 KB, patch)
2015-03-29 01:53 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2015-03-29 01:53:11 UTC
Created attachment 399996 [details, diff]
diff -u patch of ebuilds

lybniz-1.3.2.ebuild inherit distutils and require conversion to the new eclass and EAPI upgrade. Patches to be committed if there is no response in 2 weeks.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-03-29 09:38:21 UTC
Comment on attachment 399996 [details, diff]
diff -u patch of ebuilds

>--- lybniz-1.3.2.ebuild	2011-03-03 05:20:18.000000000 +0800
>+++ lybniz-1.3.2-r1.ebuild	2015-03-29 09:39:24.290113868 +0800
>@@ -1,11 +1,13 @@
>-# Copyright 1999-2011 Gentoo Foundation
>+# Copyright 1999-2015 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/lybniz/lybniz-1.3.2.ebuild,v 1.3 2011/03/02 21:20:18 jlec Exp $
> 
>-EAPI="3"
>-PYTHON_DEPEND="2"
>+EAPI=5
> 
>-inherit distutils
>+PYTHON_COMPAT=( python2_7 )
>+DISTUTILS_SINGLE_IMPL=1
no need for single_impl.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-03-30 12:43:02 UTC
DISTUTILS_SINGLE_IMPL=1 is an optional var yes.  I have elected to use it in conversions of old packages of this type.  mgorny made it and I use it. Before I came across it I did conversions without it. Both work.  Take you choice.  It doesn't matter to me to use straight distutils-r1, however the point is that, without fail, these old ebuilds support only python2.7.  Its use although arbitrary is totally apt.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-17 21:15:48 UTC
commit 5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Fri Feb 17 22:06:00 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Fri Feb 17 22:15:22 2017

    sci-mathematics/lybniz: distutils-r1, EAPI=6