Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708832 - [science overlay] dev-tex/pythontex-0.15 - ERROR: Unsupported EAPI=6 (too old) for latex-package
Summary: [science overlay] dev-tex/pythontex-0.15 - ERROR: Unsupported EAPI=6 (too old...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-09 12:35 UTC by Marcin Woźniak
Modified: 2020-02-10 00:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Woźniak 2020-02-09 12:35:27 UTC
Hi! That dev-tex/pythontex-0.14-r1 is creating error "EAPI is too old". I would like to remove that version ;)



Reproducible: Always
Comment 1 Marcin Woźniak 2020-02-09 12:36:37 UTC
I created the pull request
https://github.com/gentoo/sci/pull/940
Comment 2 Marcin Woźniak 2020-02-09 12:48:20 UTC
BTW. Sorry Jeroen for creating not good meaning ticket in BUGS, but I'm still learning how to do it ;)
Comment 3 Benda Xu gentoo-dev 2020-02-09 13:14:42 UTC
Thank you for the bug report. You can do the following:

1. The latex-package.eclass support only EAPI=7.  Thus you need to bump at least 1 ebuild to EAPI=7 and remove the rest.

2. pythontex has newer version 0.17 https://github.com/gpoore/pythontex/releases.  Please consider bump it.

3. Consider drop python2_7.
Comment 4 Marcin Woźniak 2020-02-09 13:17:50 UTC
All right I will do it ;)
Comment 5 Marcin Woźniak 2020-02-09 13:29:46 UTC
Ok, I did it ;) 
I also tested it in my machine.
https://github.com/gentoo/sci/commit/bddfc70d86d6d1034816eae63ea31841d12c7fdb
Comment 6 Benda Xu gentoo-dev 2020-02-09 15:01:38 UTC
(In reply to Marcin Woźniak from comment #5)
> Ok, I did it ;) 
> I also tested it in my machine.
> https://github.com/gentoo/sci/commit/bddfc70d86d6d1034816eae63ea31841d12c7fdb

Thank you!  2 more things:

1. The comment message should have a standard format.  Using `repoman commit` can ease this task.  See also https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Retaining_commit_author_information

2. Put "Closes: https://bugs.gentoo.org/708832"
and "Closes: https://github.com/gentoo/sci/pull/940"

   Then the bot can automatically associate the commit to bugzilla and github PR.
Comment 7 Benda Xu gentoo-dev 2020-02-09 15:04:29 UTC
(In reply to Benda Xu from comment #6)
> (In reply to Marcin Woźniak from comment #5)
> > Ok, I did it ;) 
> > I also tested it in my machine.
> > https://github.com/gentoo/sci/commit/bddfc70d86d6d1034816eae63ea31841d12c7fdb
> 
> Thank you!  2 more things:
> 
> 1. The comment message should have a standard format.  Using `repoman
> commit` can ease this task.  See also
> https://wiki.gentoo.org/wiki/
> Gentoo_git_workflow#Retaining_commit_author_information
> 
> 2. Put "Closes: https://bugs.gentoo.org/708832"
> and "Closes: https://github.com/gentoo/sci/pull/940"
> 
>    Then the bot can automatically associate the commit to bugzilla and
> github PR.

3. drop python 3.5 as it is out of tree now.
Comment 8 Marcin Woźniak 2020-02-09 15:07:20 UTC
Yeah I forget about it ;)
Comment 9 Marcin Woźniak 2020-02-09 15:09:12 UTC
Okay, I add the author in commit and closed the https://github.com/gentoo/sci/pull/940
Comment 10 Larry the Git Cow gentoo-dev 2020-02-10 00:15:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5646b8ed7f4741c0bfa7512aef38d5e72392907

commit a5646b8ed7f4741c0bfa7512aef38d5e72392907
Author:     Marcin Woźniak <y0rune@aol.com>
AuthorDate: 2020-02-09 12:26:48 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2020-02-10 00:13:50 +0000

    dev-tex/pythontex: bump to 0.17 and drop old.
    
      Bump to EAPI=7.
    
    Closes: https://github.com/gentoo/sci/pull/940
    Closes: https://bugs.gentoo.org/708832
    
    Package-Manager: Portage-2.3.85, Repoman-2.3.18
    
    Signed-off-by: Marcin Woźniak <y0rune@aol.com>
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-tex/pythontex/Manifest                         |  3 +-
 dev-tex/pythontex/metadata.xml                     |  2 +-
 dev-tex/pythontex/pythontex-0.14-r1.ebuild         | 55 ----------------------
 ...pythontex-0.15.ebuild => pythontex-0.17.ebuild} | 12 ++---
 dev-tex/pythontex/pythontex-9999.ebuild            | 12 ++---
 5 files changed, 10 insertions(+), 74 deletions(-)