Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541094 - dev-vcs/cvs2svn conversion to distutils-r1.eclass
Summary: dev-vcs/cvs2svn conversion to distutils-r1.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-23 02:49 UTC by Ian Delaney (RETIRED)
Modified: 2016-04-24 04:55 UTC (History)
0 users

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


Attachments
diff -u patch (cvs2svn.patch,1.58 KB, patch)
2015-02-23 02:49 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-02-23 02:49:31 UTC
Created attachment 397286 [details, diff]
diff -u patch

cvs2svn inherits distutils and requires a conversion to the new eclass and EAPI upgrade. Patches to be commited if there is no response in 2 weeks."

PYTHON_USE_WITH_OR && PYTHON_USE_WITH_OPT I am not familiar with and have no drop in replacement.  They appear to pertain to options for the test phase, such as berkdb set behind test?.  If uncertain to my knowledge both eclass demi gods are alive and available for consultation.

It appears that 1.5.0 and 2.1.1 are stabled. 2.1.1 supercedes all before it.

~/cvsPortage/gentoo-x86/dev-vcs/cvs2svn $ ebuild cvs2svn-2.4.0.ebuild clean test

basically fails

EXCEPTION: SystemExit(1), skipping cleanup
FAIL:  run-tests.py 5: detection of the executable flag
 * ERROR: dev-vcs/cvs2svn-2.4.0::gentoo failed (test phase):
 *   Testing failed with CPython 2.7 in testing() function

 ~/cvsPortage/gentoo-x86/dev-vcs/cvs2svn $ echo $?
1

wheres
~/cvsPortage/gentoo-x86/dev-vcs/cvs2svn $ ebuild cvs2svn-2.4.0-r1.ebuild clean test

basically passes

~/cvsPortage/gentoo-x86/dev-vcs/cvs2svn $ ebuild cvs2svn-2.4.0-r1.ebuild clean test

EXCEPTION: SystemExit(1), skipping cleanup
FAIL:  run-tests.py 5: detection of the executable flag
>>> Completed testing dev-vcs/cvs2svn-2.4.0-r1

~/cvsPortage/gentoo-x86/dev-vcs/cvs2svn $ echo $?
0

I have no idea what's going on here.

DISTUTILS_SINGLE_IMPL=1
is optional.  Without it the patch is quite different, the final ebuild reduced.

Once converted, please either use as a model to convert all other versions, or alternatively, purge.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-04-24 04:55:06 UTC
commit 657202f124f9214334718acb4c57ab4b0324bd8c
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sun Apr 24 06:53:07 2016

    dev-vcs/cvs2svn: Revbump/EAPI-bump and conversion to distutils-r1 eclass

    with a patch from idella4 in bug #541094.

    Package-Manager: portage-2.2.28
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>