List Info

Thread: python-basemap packaging




python-basemap packaging
country flaguser name
United States
2007-03-23 16:55:23
I'd like some advice on how to handle a change to the way
python-basemap 
upstream has changed its packaging.

Currently we have two SRPMS:

python-basemap
python-basemap-data

The later is a big noarch package containing the data files
for 
python-basemap (low, medium, and high resolution maps). 
Since 
python-basemap does not work without it, it is a
requirement.

Now, upstream has bundled the low and medium resolution maps
with the 
main package, and ships basemap-data-hires with just the
high resolution 
maps.

Also, there is a very large (14MB) examples directory that
is currently 
shipped with the main package, which I'm going to make into
a subpackage.

So:

1) I could put it all under python-basemap, with examples
and data-hires 
subpackages and drop python-basemap-data.  But then we loose
the noarch 
for the data.

2) I could rename python-basemap-data
python-basemap-data-hires and no 
longer have it a requirement.  Not sure about upgrade paths
though. 
Should it Obsoletes python-basemap-data so that it gets
installed by 
default so people who have been using the high res maps
don't have to 
all of a sudden install a new package?

3) Strip the data (and possibly the examples) out of the tar
ball and 
keep the same packaging (though possibly adding a new noarch
examples 
package).  Don't really like this.

Thoughts?

--

Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orioncora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

Re: python-basemap packaging
country flaguser name
United States
2007-03-23 18:10:10
On Fri, 2007-03-23 at 15:55 -0600, Orion Poplawski wrote:
> I'd like some advice on how to handle a change to the
way python-basemap 
> upstream has changed its packaging.
> 
> Currently we have two SRPMS:
> 
> python-basemap
> python-basemap-data
> 
> The later is a big noarch package containing the data
files for 
> python-basemap (low, medium, and high resolution maps).
 Since 
> python-basemap does not work without it, it is a
requirement.
> 
> Now, upstream has bundled the low and medium resolution
maps with the 
> main package, and ships basemap-data-hires with just
the high resolution 
> maps.
> 
> Also, there is a very large (14MB) examples directory
that is currently 
> shipped with the main package, which I'm going to make
into a subpackage.
> 
> So:
> 
> 1) I could put it all under python-basemap, with
examples and data-hires 
> subpackages and drop python-basemap-data.  But then we
loose the noarch 
> for the data.
> 
> 2) I could rename python-basemap-data
python-basemap-data-hires and no 
> longer have it a requirement.  Not sure about upgrade
paths though. 
> Should it Obsoletes python-basemap-data so that it gets
installed by 
> default so people who have been using the high res maps
don't have to 
> all of a sudden install a new package?
> 
> 3) Strip the data (and possibly the examples) out of
the tar ball and 
> keep the same packaging (though possibly adding a new
noarch examples 
> package).  Don't really like this.
> 
4) For python-basemap, do not strip the data from the
tarball but do not
include it in the built rpms.  Use the python-basemap
tarball with the
python-basemap-hires tarball to populate the
python-basemap-data rpm.
You can also generate the python-basemap-examples noarch rpm
from this.
Increases the size of the srpms but keeps the built rpms the
same.

It sounds as though you've decided on #2, though.  Your
upgrade path
sounds sane although you could also argue for python-basemap
obsoletes
python-basemap-data since it now includes sufficient data to
function.
You know the specifics better so you're the better judge.

-Toshio

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

Re: python-basemap packaging
country flaguser name
Portugal
2007-03-23 18:18:04
On Friday 23 March 2007 11:10:10 pm Toshio Kuratomi wrote:
> It sounds as though you've decided on #2, though.
 Your upgrade path
> sounds sane although you could also argue for
python-basemap obsoletes
> python-basemap-data since it now includes sufficient
data to function.
> You know the specifics better so you're the better
judge.

  I agree with Toshio:

1) people who really need python-basemap-hires will know how
to install it.

2) I trust in your judgement over this issue.

> -Toshio

-- 
José Abílio

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

Re: python-basemap packaging
country flaguser name
United States
2007-03-28 18:13:35
Toshio Kuratomi wrote:
> 4) For python-basemap, do not strip the data from the
tarball but do not
> include it in the built rpms.  Use the python-basemap
tarball with the
> python-basemap-hires tarball to populate the
python-basemap-data rpm.
> You can also generate the python-basemap-examples
noarch rpm from this.
> Increases the size of the srpms but keeps the built
rpms the same.

I like this.  Thanks!

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orioncora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )