Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735458 - sci-geosciences/grass: need py3 port
Summary: sci-geosciences/grass: need py3 port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Deadline: 2020-09-21
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-08-02 14:47 UTC by Michał Górny
Modified: 2020-10-04 15:24 UTC (History)
2 users (show)

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


Attachments
grass-7.8.3 ebuild (grass-7.8.3.ebuild,7.54 KB, text/plain)
2020-09-16 23:42 UTC, Vincent Reher
Details
grass-7.0.1-declare-inespg.patch (grass-7.0.1-declare-inespg.patch,647 bytes, patch)
2020-09-16 23:44 UTC, Vincent Reher
Details | Diff
grass-7.8.3-pyversion.patch (grass-7.8.3-pyversion.patch,347 bytes, patch)
2020-09-16 23:45 UTC, Vincent Reher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-02 14:47:59 UTC
Please port to py3.
Comment 1 Vincent Reher 2020-09-16 23:42:58 UTC
Created attachment 660798 [details]
grass-7.8.3 ebuild

Package version builds and runs fine.

Tested with USE="X -blas -cxx -fftw geos* -lapack -liblas mysql netcdf* nls odbc -opencl opengl openmp png postgres readline sqlite threads tiff truetype" PYTHON_SINGLE_TARGET="python3_7"

This is a version bump of ebuild proposed here https://bugs.gentoo.org/682188#c7, with following changes:

Removed dependency on media-libs/libprojectm, as suggested here: https://bugs.gentoo.org/706802. It didn't seem plausible that grass would need "A graphical music visualization plugin similar to milkdrop"

Added dependency on dev-python/six. I think this has been a dependency for a long time, probably unnoticed because this package is already installed as a dependency of a bunch of other packages.
Comment 2 Vincent Reher 2020-09-16 23:44:53 UTC
Created attachment 660801 [details, diff]
grass-7.0.1-declare-inespg.patch
Comment 3 Vincent Reher 2020-09-16 23:45:55 UTC
Created attachment 660804 [details, diff]
grass-7.8.3-pyversion.patch
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-17 00:49:32 UTC
(In reply to V. Reher from comment #1)
> Created attachment 660798 [details]
> grass-7.8.3 ebuild
> 
> Package version builds and runs fine.
> 
> Tested with USE="X -blas -cxx -fftw geos* -lapack -liblas mysql netcdf* nls
> odbc -opencl opengl openmp png postgres readline sqlite threads tiff
> truetype" PYTHON_SINGLE_TARGET="python3_7"
> 
> This is a version bump of ebuild proposed here
> https://bugs.gentoo.org/682188#c7, with following changes:
> 
> Removed dependency on media-libs/libprojectm, as suggested here:
> https://bugs.gentoo.org/706802. It didn't seem plausible that grass would
> need "A graphical music visualization plugin similar to milkdrop"
> 
> Added dependency on dev-python/six. I think this has been a dependency for a
> long time, probably unnoticed because this package is already installed as a
> dependency of a bunch of other packages.

Can you:
1) ideally submit this as a github PR to make it easier to review? This is not mandatory.

2) provide the GCO sign off in a comment here?
Comment 5 Vincent Reher 2020-09-17 14:50:13 UTC
Signed-off-by: Vincent Reher <gentoo@4reher.org>
Comment 6 Vincent Reher 2020-09-17 14:59:51 UTC
(In reply to Sam James from comment #4)
> (In reply to V. Reher from comment #1)
> > Created attachment 660798 [details]
> > grass-7.8.3 ebuild
> > 
> > Package version builds and runs fine.
> > 
> > Tested with USE="X -blas -cxx -fftw geos* -lapack -liblas mysql netcdf* nls
> > odbc -opencl opengl openmp png postgres readline sqlite threads tiff
> > truetype" PYTHON_SINGLE_TARGET="python3_7"
> > 
> > This is a version bump of ebuild proposed here
> > https://bugs.gentoo.org/682188#c7, with following changes:
> > 
> > Removed dependency on media-libs/libprojectm, as suggested here:
> > https://bugs.gentoo.org/706802. It didn't seem plausible that grass would
> > need "A graphical music visualization plugin similar to milkdrop"
> > 
> > Added dependency on dev-python/six. I think this has been a dependency for a
> > long time, probably unnoticed because this package is already installed as a
> > dependency of a bunch of other packages.
> 
> Can you:
> 1) ideally submit this as a github PR to make it easier to review? This is
> not mandatory.
> 
> 2) provide the GCO sign off in a comment here?

Regarding (1): Is there a guide for how to do that for the casual bug reporter / fixer-wannabe?
Comment 7 Larry the Git Cow gentoo-dev 2020-09-21 06:07:35 UTC
The bug has been closed via the following commit(s):

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

commit 1e2193bbca8eaaab8cca1b4e61294b59f6a62714
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-09-21 06:00:26 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-09-21 06:07:18 +0000

    sci-geosciences/grass: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/735458
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/base/package.use.stable.mask              |   4 -
 profiles/package.mask                              |   1 -
 profiles/updates/4Q-2015                           |   1 -
 sci-geosciences/grass/Manifest                     |   1 -
 .../grass/files/grass-7.0.1-declare-inespg.patch   |  15 --
 sci-geosciences/grass/grass-7.4.4-r3.ebuild        | 283 ---------------------
 sci-geosciences/grass/grass-7.4.4.ebuild           | 283 ---------------------
 sci-geosciences/grass/metadata.xml                 |  19 --
 8 files changed, 607 deletions(-)

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

commit a66ce8ae0d69b2ed3634b41c1d8dc4d66e7df47c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-09-21 06:00:19 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-09-21 06:07:17 +0000

    sci-geosciences/gdal-grass: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/735458
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask                              |  1 -
 sci-geosciences/gdal-grass/Manifest                |  1 -
 sci-geosciences/gdal-grass/gdal-grass-2.1.3.ebuild | 49 ----------------------
 sci-geosciences/gdal-grass/metadata.xml            | 11 -----
 4 files changed, 62 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2020-10-04 15:24:13 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(+)