Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682188 - sci-geosciences/grass-7.8.3 version bump, support for Python 3
Summary: sci-geosciences/grass-7.8.3 version bump, support for Python 3
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Deadline: 2020-09-21
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: EBUILD, PMASKED, PullRequest
: 693078 693956 727508 (view as bug list)
Depends on:
Blocks: py3-tracker, python-3-incompatible 703754
  Show dependency tree
 
Reported: 2019-03-31 22:39 UTC by Dennis Schridde
Modified: 2020-10-04 15:24 UTC (History)
10 users (show)

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


Attachments
GRASS 7.8 (grass-7.8.0.ebuild,7.19 KB, text/plain)
2019-09-07 21:29 UTC, José de Paula Rodrigues
Details
grass-7.8.0-pyversion.patch (grass-7.8.0-pyversion.patch,347 bytes, patch)
2019-09-07 21:31 UTC, José de Paula Rodrigues
Details | Diff
grass-7.8.2.ebuild (grass-7.8.2.ebuild,7.52 KB, text/plain)
2020-02-26 14:10 UTC, José de Paula Rodrigues
Details
Corrects Python version call to 3.8 (grass-7.8.1-pyversion.patch,347 bytes, patch)
2020-02-26 14:16 UTC, José de Paula Rodrigues
Details | Diff
Some cleans of José de Paula Rodrigues ebuild (grass-7.8.2-r2.ebuild,6.97 KB, text/plain)
2020-03-13 16:58 UTC, UlvHare
Details
diff between grass-7.8.2.ebuild and grass-7.8.2-r2.ebuild (grass-7.8.2-r2.diff,5.31 KB, patch)
2020-03-13 17:02 UTC, UlvHare
Details | Diff
grass emerge info (grass_emerge_info.txt,6.63 KB, text/plain)
2020-03-13 17:12 UTC, UlvHare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2019-03-31 22:39:30 UTC
Version 7.6.1 of GRASS was released recently: https://grass.osgeo.org/news/82/102/GRASS-GIS-7-6-1-released/
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-30 06:31:08 UTC
*** Bug 693078 has been marked as a duplicate of this bug. ***
Comment 2 José de Paula Rodrigues 2019-09-07 21:29:44 UTC
Created attachment 589374 [details]
GRASS 7.8

GRASS GIS Version 7.8.0 ebuild, released 2019-09-06. Dropped python2 support. Patch needed to change upstream's hardcoded python executable name.
Comment 3 José de Paula Rodrigues 2019-09-07 21:31:50 UTC
Created attachment 589378 [details, diff]
grass-7.8.0-pyversion.patch

This changes upstream's hardcoded python3.73 executable name
Comment 4 José de Paula Rodrigues 2019-09-09 20:10:38 UTC
I've just made a new ebuild for 7.8.0, in bug 693956 which makes the ebuild that I've attached here obsolete. Please don't use this one.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-10 06:39:00 UTC
*** Bug 693956 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Beutin 2020-02-26 14:02:37 UTC
(In reply to José de Paula Rodrigues from comment #4)
> I've just made a new ebuild for 7.8.0, in bug 693956 which makes the ebuild
> that I've attached here obsolete. Please don't use this one.

This ebuild doesn't work (anymore):

# ebuild /usr/local/portage/sci-geosciences/grass/grass-7.8.0.ebuild digest
Error(s) in metadata for 'sci-geosciences/grass-7.8.0':
  DEPEND: Invalid atom (Invalid use dep: '%PYTHON_USEDEP-HAS-BEEN-REMOVED%'), token 12
  RDEPEND: Invalid atom (Invalid use dep: '%PYTHON_USEDEP-HAS-BEEN-REMOVED%'), token 12
Comment 7 José de Paula Rodrigues 2020-02-26 14:10:36 UTC
Created attachment 615952 [details]
grass-7.8.2.ebuild

Updated ebuild; bumps GRASS to 7.8.2 and replaces obsolete PYTHON_USEDEP with PYTHON_MULTI_USEDEP.
Comment 8 José de Paula Rodrigues 2020-02-26 14:11:41 UTC
(In reply to Thomas Beutin from comment #6)
> (In reply to José de Paula Rodrigues from comment #4)
> > I've just made a new ebuild for 7.8.0, in bug 693956 which makes the ebuild
> > that I've attached here obsolete. Please don't use this one.
> 
> This ebuild doesn't work (anymore):
> 
> # ebuild /usr/local/portage/sci-geosciences/grass/grass-7.8.0.ebuild digest
> Error(s) in metadata for 'sci-geosciences/grass-7.8.0':
>   DEPEND: Invalid atom (Invalid use dep:
> '%PYTHON_USEDEP-HAS-BEEN-REMOVED%'), token 12
>   RDEPEND: Invalid atom (Invalid use dep:
> '%PYTHON_USEDEP-HAS-BEEN-REMOVED%'), token 12

See new attachment, this new ebuild fixes the issue. @all, what is the correct procedure to submit patches to the main Gentoo tree? I'm a little at a loss here. Thank you.
Comment 9 José de Paula Rodrigues 2020-02-26 14:16:00 UTC
Created attachment 615954 [details, diff]
Corrects Python version call to 3.8

This patch is needed for the acompanying ebuild to work correctly. Without it, Grass tries to call Python-3.83, which very probably doesn't exist in your system.
Comment 10 Soren Harward 2020-03-09 14:56:07 UTC
ebuild shouldn't list media-libs/libprojectm as dependency: https://bugs.gentoo.org/706802
Comment 11 UlvHare 2020-03-13 16:58:38 UTC
Created attachment 618580 [details]
Some cleans of  José de Paula Rodrigues ebuild

This ebuild revision uses mainstream python-3.6, doesn't need python version patches, doesn't need media-libs/libprojectm (I think somewhen it was mistyping in string "--with-proj-includes"). Also some other changes (see diff)
Comment 12 UlvHare 2020-03-13 17:02:33 UTC
Created attachment 618582 [details, diff]
diff between grass-7.8.2.ebuild and grass-7.8.2-r2.ebuild
Comment 13 UlvHare 2020-03-13 17:12:17 UTC
Created attachment 618584 [details]
grass emerge info

At least it is compiled successfully and starts in gui mode on attached configuration. Sorry, I don't know how to put several attaches to one message.
Maybe some more cleaning will be better, there is still some code from 2015, I'm not a specialist.
And yes, I've change blas/lapack implementation from atlas to openblas, saving "reference" variant. Just IMHO openblas now is better then atlas.
Comment 14 Arfrever Frehtes Taifersar Arahesis 2020-06-08 08:12:40 UTC
*** Bug 727508 has been marked as a duplicate of this bug. ***
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-16 10:55:56 UTC
ping.
Comment 16 Dennis Schridde 2020-08-16 16:02:30 UTC
(In reply to Michał Górny from comment #15)
> ping.

Latest version continues to be 7.8.3: https://grass.osgeo.org/news/2020_05_05_grass_gis_7_8_3_released/
Comment 17 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-22 10:59:24 UTC
(In reply to Dennis Schridde from comment #16)
> (In reply to Michał Górny from comment #15)
> > ping.
> 
> Latest version continues to be 7.8.3:
> https://grass.osgeo.org/news/2020_05_05_grass_gis_7_8_3_released/

I suggest a snapshot.
Comment 18 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-08 04:58:09 UTC
(In reply to Sam James from comment #17)
> (In reply to Dennis Schridde from comment #16)
> > (In reply to Michał Górny from comment #15)
> > > ping.
> > 
> > Latest version continues to be 7.8.3:
> > https://grass.osgeo.org/news/2020_05_05_grass_gis_7_8_3_released/
> 
> I suggest a snapshot.

ping?
Comment 19 Dennis Schridde 2020-09-08 05:33:04 UTC
(In reply to Sam James from comment #18)
> (In reply to Sam James from comment #17)
> > (In reply to Dennis Schridde from comment #16)
> > > (In reply to Michał Górny from comment #15)
> > > > ping.
> > > 
> > > Latest version continues to be 7.8.3:
> > > https://grass.osgeo.org/news/2020_05_05_grass_gis_7_8_3_released/
> > 
> > I suggest a snapshot.
> 
> ping?

Why snapshot it instead of updating to the released version 7.8.3 that is just a few months old?
Comment 20 Vincent Reher 2020-09-16 23:56:04 UTC
Need to move things along, GRASS is about to be loaded into the mulcher!

See https://bugs.gentoo.org/735458#c1
Comment 21 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-17 00:49:04 UTC
(In reply to Dennis Schridde from comment #19)
> (In reply to Sam James from comment #18)
> > (In reply to Sam James from comment #17)
> > > (In reply to Dennis Schridde from comment #16)
> > > > (In reply to Michał Górny from comment #15)
> > > > > ping.
> > > > 
> > > > Latest version continues to be 7.8.3:
> > > > https://grass.osgeo.org/news/2020_05_05_grass_gis_7_8_3_released/
> > > 
> > > I suggest a snapshot.
> > 
> > ping?
> 
> Why snapshot it instead of updating to the released version 7.8.3 that is
> just a few months old?

I have no idea what I was on about.
Comment 22 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 06:01:47 UTC
package removed.
Comment 23 Arfrever Frehtes Taifersar Arahesis 2020-09-22 06:43:07 UTC
An interested user, who knows how to maintain ebuilds and has time for it in upcoming time, can become maintainer and restore this package...
Comment 24 Vincent Reher 2020-09-22 15:51:37 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #23)
> An interested user, who knows how to maintain ebuilds and has time for it in
> upcoming time, can become maintainer and restore this package...

Only the previous package version was removed, an updated ebuild submitted by me was accepted into portage (see https://bugs.gentoo.org/735458#c7).

It would be good if you could become a maintainer.
Comment 25 Arfrever Frehtes Taifersar Arahesis 2020-09-22 19:00:47 UTC
(In reply to Vincent Reher from comment #24)

Package was fully deleted (with metadata.xml etc.).
Your ebuild was not yet accepted.

Other unfinished attempts:
https://github.com/gentoo/gentoo/pull/15399
https://github.com/gentoo/gentoo/pull/17361
Somebody can review all of them and manually merge potential improvements from all of them.

Gentoo Geosciences Project is inactive and users should not wait for this project.

Users interested in becoming maintainers can read:
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers/User_Guide
Comment 26 Larry the Git Cow gentoo-dev 2020-10-04 15:24:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91a9b0c0e3e42ad10ed685981d1468046dceaeb

commit b91a9b0c0e3e42ad10ed685981d1468046dceaeb
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2020-10-04 15:23:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-04 15:23:51 +0000

    sci-geosciences/grass: readd package
    
    * Readd package for the GRASS Geographic Information System. GRASS was
      removed from the tree due to dropping Python 2 Support. This commit
      readds a recent version of GRASS which doesn't depends on Python 2.
    
    Bug: https://bugs.gentoo.org/682188
    Bug: https://bugs.gentoo.org/735458
    Closes: https://bugs.gentoo.org/744724
    Closes: https://github.com/gentoo/gentoo/pull/15399
    Closes: https://github.com/gentoo/gentoo/pull/17361
    Closes: https://github.com/gentoo/gentoo/pull/17666
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-geosciences/grass/Manifest           |   1 +
 sci-geosciences/grass/grass-7.8.3.ebuild | 268 +++++++++++++++++++++++++++++++
 sci-geosciences/grass/metadata.xml       |  26 +++
 3 files changed, 295 insertions(+)