summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/pygrib')
-rw-r--r--sci-libs/pygrib/ChangeLog8
-rw-r--r--sci-libs/pygrib/Manifest5
-rw-r--r--sci-libs/pygrib/files/pygrib-1.8.1-fix_duplicate_name.patch155
-rw-r--r--sci-libs/pygrib/metadata.xml8
-rw-r--r--sci-libs/pygrib/pygrib-1.8.1.ebuild43
5 files changed, 0 insertions, 219 deletions
diff --git a/sci-libs/pygrib/ChangeLog b/sci-libs/pygrib/ChangeLog
deleted file mode 100644
index a5a9a3a5a..000000000
--- a/sci-libs/pygrib/ChangeLog
+++ /dev/null
@@ -1,8 +0,0 @@
-# ChangeLog for sci-libs/pygrib
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 13 Feb 2011; pingz<zpsigma@gmail.com> +pygrib-1.8.1.ebuild,
- +files/pygrib-1.8.1-fix_duplicate_name.patch, +metadata.xml:
- New Ebuild for bug 350027 thanks to Tommy, chithead, floppym, bapa, and mgorny
-
diff --git a/sci-libs/pygrib/Manifest b/sci-libs/pygrib/Manifest
deleted file mode 100644
index 7d159861b..000000000
--- a/sci-libs/pygrib/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX pygrib-1.8.1-fix_duplicate_name.patch 4828 RMD160 e23362610174e3df7aefadb307f92868173a9e58 SHA1 d7a66d4a23bf21b2be85fdc55d5bf5478730af29 SHA256 b5bbbb6adb8692f406ad7228b5bed0c0eceb96b9a070902c1b94c0d3f39d9ad0
-DIST pygrib-1.8.1.tar.gz 17030116 RMD160 396254cf34963f70ea66f12feb6579d1810da2d7 SHA1 47a36c3c87c8e7669b5592064c44df5d49fa697d SHA256 162b5de2c972f4baecab80d9e4258ff07e728070c1aa1de00a57c220ac5cc456
-EBUILD pygrib-1.8.1.ebuild 1008 RMD160 fbeded276108610d6709fb87b66351d51406624f SHA1 9ceabf5b5571f26e8d9f7d4f05a7a08999ab28b3 SHA256 c8017a1df9d85649c03c167ea7657ab64a1de6cb496c69f29382c971b8923c86
-MISC ChangeLog 323 RMD160 dc1f0b2da6777bd2d0b05239dfd4fb95092cb2fb SHA1 0540b94c0c099c193309fefea98545190f2867d8 SHA256 3f90243e36b01303efc77310a32f60620ebd203e195009d0480ce35e5faecc09
-MISC metadata.xml 219 RMD160 71968e1daf4cb61003e8c97162aeb5f454dbbb1b SHA1 04eb14ec291de8caafc320d7407c69b325ee4477 SHA256 427527931dd2af860a7e7f3549b13e5f9074724f842c9f4fae815854b197ddea
diff --git a/sci-libs/pygrib/files/pygrib-1.8.1-fix_duplicate_name.patch b/sci-libs/pygrib/files/pygrib-1.8.1-fix_duplicate_name.patch
deleted file mode 100644
index 63da1710a..000000000
--- a/sci-libs/pygrib/files/pygrib-1.8.1-fix_duplicate_name.patch
+++ /dev/null
@@ -1,155 +0,0 @@
-diff -rupN pygrib-1.8.1.orgin/MANIFEST.in pygrib-1.8.1/MANIFEST.in
---- pygrib-1.8.1.orgin/MANIFEST.in 2011-02-12 03:11:51.766307559 +0800
-+++ pygrib-1.8.1/MANIFEST.in 2011-02-12 03:13:04.766773095 +0800
-@@ -5,8 +5,7 @@ intluce pygrib.c
- include setup.py
- include test.py
- include README
--include utils/grib_list
--include utils/grib_repack
-+include utils/*grib*
- recursive-include docs *
- include sampledata/*.grb
- include sampledata/*.grib*
-diff -rupN pygrib-1.8.1.orgin/setup.py pygrib-1.8.1/setup.py
---- pygrib-1.8.1.orgin/setup.py 2011-02-12 03:11:51.764307684 +0800
-+++ pygrib-1.8.1/setup.py 2011-02-12 04:07:25.967567747 +0800
-@@ -69,7 +69,7 @@ setup(name = "pygrib",
- url = "http://code.google.com/p/pygrib",
- download_url = "http://code.google.com/p/pygrib/downloads/list",
- scripts =
-- ['utils/grib_list','utils/grib_repack','utils/grib1to2','utils/grib2to1'],
-+ ['utils/grib_list','utils/grib_repack','utils/cnvgrib1to2','utils/cnvgrib2to1'],
- ext_modules = [Extension(
- "pygrib",
- ["pygrib.c"],
-diff -rupN pygrib-1.8.1.orgin/utils/cnvgrib1to2 pygrib-1.8.1/utils/cnvgrib1to2
---- pygrib-1.8.1.orgin/utils/cnvgrib1to2 1970-01-01 08:00:00.000000000 +0800
-+++ pygrib-1.8.1/utils/cnvgrib1to2 2011-01-22 05:31:19.000000000 +0800
-@@ -0,0 +1,33 @@
-+#!/usr/bin/env python
-+import pygrib, sys
-+
-+if len(sys.argv) < 3:
-+ print """
-+ grib1to2 <grib1 filename> <grib2 filename> <packing scheme>
-+ <packing_scheme> is optional - can be 'grid_simple', 'grid_complex',
-+ 'grid_complex_spatial_differencing', 'grid_jpeg', or 'grid_png'.
-+ Default is 'grid_jpeg'
-+ """
-+ raise SystemExit
-+
-+grbs = pygrib.open(sys.argv[1])
-+f = open(sys.argv[2],'wb')
-+
-+if len(sys.argv) > 3:
-+ grb2packing = sys.argv[3]
-+else:
-+ grb2packing = 'grid_jpeg' # default is jpeg2000
-+
-+print 'converting %s from grib1 to grib2 (%s) with %s packing ...' % (sys.argv[1],sys.argv[2],grb2packing)
-+
-+for grb in grbs:
-+ try:
-+ grb.editionNumber=2
-+ grb.packingType = grb2packing
-+ except:
-+ print 'cannot convert message %s' % grb.messagenumber
-+ continue
-+ f.write(grb.tostring())
-+
-+grbs.close()
-+f.close()
-diff -rupN pygrib-1.8.1.orgin/utils/cnvgrib2to1 pygrib-1.8.1/utils/cnvgrib2to1
---- pygrib-1.8.1.orgin/utils/cnvgrib2to1 1970-01-01 08:00:00.000000000 +0800
-+++ pygrib-1.8.1/utils/cnvgrib2to1 2011-01-22 05:31:19.000000000 +0800
-@@ -0,0 +1,24 @@
-+#!/usr/bin/env python
-+import pygrib, sys
-+
-+if len(sys.argv) < 3:
-+ print """
-+ grib2to1 <grib2 filename> <grib1 filename>
-+ """
-+ raise SystemExit
-+
-+grbs = pygrib.open(sys.argv[1])
-+f = open(sys.argv[2],'wb')
-+
-+print 'converting %s from grib2 to grib1 (%s) ...' % (sys.argv[1],sys.argv[2])
-+
-+for grb in grbs:
-+ try:
-+ grb.editionNumber=1
-+ except:
-+ print 'cannot convert message %s' % grb.messagenumber
-+ continue
-+ f.write(grb.tostring())
-+
-+grbs.close()
-+f.close()
-diff -rupN pygrib-1.8.1.orgin/utils/grib1to2 pygrib-1.8.1/utils/grib1to2
---- pygrib-1.8.1.orgin/utils/grib1to2 2011-02-12 03:11:51.766307559 +0800
-+++ pygrib-1.8.1/utils/grib1to2 1970-01-01 08:00:00.000000000 +0800
-@@ -1,33 +0,0 @@
--#!/usr/bin/env python
--import pygrib, sys
--
--if len(sys.argv) < 3:
-- print """
-- grib1to2 <grib1 filename> <grib2 filename> <packing scheme>
-- <packing_scheme> is optional - can be 'grid_simple', 'grid_complex',
-- 'grid_complex_spatial_differencing', 'grid_jpeg', or 'grid_png'.
-- Default is 'grid_jpeg'
-- """
-- raise SystemExit
--
--grbs = pygrib.open(sys.argv[1])
--f = open(sys.argv[2],'wb')
--
--if len(sys.argv) > 3:
-- grb2packing = sys.argv[3]
--else:
-- grb2packing = 'grid_jpeg' # default is jpeg2000
--
--print 'converting %s from grib1 to grib2 (%s) with %s packing ...' % (sys.argv[1],sys.argv[2],grb2packing)
--
--for grb in grbs:
-- try:
-- grb.editionNumber=2
-- grb.packingType = grb2packing
-- except:
-- print 'cannot convert message %s' % grb.messagenumber
-- continue
-- f.write(grb.tostring())
--
--grbs.close()
--f.close()
-diff -rupN pygrib-1.8.1.orgin/utils/grib2to1 pygrib-1.8.1/utils/grib2to1
---- pygrib-1.8.1.orgin/utils/grib2to1 2011-02-12 03:11:51.766307559 +0800
-+++ pygrib-1.8.1/utils/grib2to1 1970-01-01 08:00:00.000000000 +0800
-@@ -1,24 +0,0 @@
--#!/usr/bin/env python
--import pygrib, sys
--
--if len(sys.argv) < 3:
-- print """
-- grib2to1 <grib2 filename> <grib1 filename>
-- """
-- raise SystemExit
--
--grbs = pygrib.open(sys.argv[1])
--f = open(sys.argv[2],'wb')
--
--print 'converting %s from grib2 to grib1 (%s) ...' % (sys.argv[1],sys.argv[2])
--
--for grb in grbs:
-- try:
-- grb.editionNumber=1
-- except:
-- print 'cannot convert message %s' % grb.messagenumber
-- continue
-- f.write(grb.tostring())
--
--grbs.close()
--f.close()
diff --git a/sci-libs/pygrib/metadata.xml b/sci-libs/pygrib/metadata.xml
deleted file mode 100644
index fb0695192..000000000
--- a/sci-libs/pygrib/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>maintainer-wanted@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
-
diff --git a/sci-libs/pygrib/pygrib-1.8.1.ebuild b/sci-libs/pygrib/pygrib-1.8.1.ebuild
deleted file mode 100644
index e564827c0..000000000
--- a/sci-libs/pygrib/pygrib-1.8.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit eutils distutils
-
-DESCRIPTION="Python module for reading and writing GRIB files (edition 1 and edition 2)"
-HOMEPAGE="http://code.google.com/p/pygrib/ http://pypi.python.org/pypi/pygrib/"
-SRC_URI="http://pygrib.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="pygrib"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc"
-
-RDEPEND="dev-python/numpy
- sci-libs/proj
- dev-python/matplotlib
- dev-python/basemap
- sci-libs/grib_api
- || ( media-libs/jasper media-libs/openjpeg )
- media-libs/libpng
- sys-libs/zlib"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-# patch already be applied by upstream, avoid conflict with grib_api's script
-# ref http://code.google.com/p/pygrib/issues/detail?id=22
- epatch "${FILESDIR}"/${P}-fix_duplicate_name.patch
-}
-
-src_install() {
- distutils_src_install
-
- if use doc; then
- dohtml docs/* || die
- fi
-}