diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2019-01-23 08:01:07 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2019-01-23 08:01:07 +0800 |
commit | c57921b1b28c6cc7ca5f1e85b05e0dd56420434d (patch) | |
tree | ad0536c0173c0d44783f30162c050a805ddd3f17 /astro/py-pymetar | |
parent | 4c99e6677ab83b19f5bc3b1823f75047906c9e7d (diff) | |
download | freebsd-ports-gnome-c57921b1b28c6cc7ca5f1e85b05e0dd56420434d.tar.gz freebsd-ports-gnome-c57921b1b28c6cc7ca5f1e85b05e0dd56420434d.tar.zst freebsd-ports-gnome-c57921b1b28c6cc7ca5f1e85b05e0dd56420434d.zip |
Update to 1.1
Changes: https://github.com/klausman/pymetar/commits/master
Diffstat (limited to 'astro/py-pymetar')
-rw-r--r-- | astro/py-pymetar/Makefile | 10 | ||||
-rw-r--r-- | astro/py-pymetar/distinfo | 6 | ||||
-rw-r--r-- | astro/py-pymetar/files/patch-setup.py | 22 |
3 files changed, 20 insertions, 18 deletions
diff --git a/astro/py-pymetar/Makefile b/astro/py-pymetar/Makefile index 0ba61cdee8e8..53942f580de1 100644 --- a/astro/py-pymetar/Makefile +++ b/astro/py-pymetar/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pymetar -PORTVERSION= 0.21 -PORTREVISION= 1 +PORTVERSION= 1.1 CATEGORIES= astro python geography MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,10 +13,11 @@ COMMENT= Python module that provides access to NOAA METAR weather reports LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -NO_ARCH= yes +USES= python:3.5+ shebangfix USE_PYTHON= autoplist distutils -USES= python:2.7 shebangfix -SHEBANG_FILES= bin/${PORTNAME} +NO_ARCH= yes + +SHEBANG_FILES= bin/pymetar .include <bsd.port.mk> diff --git a/astro/py-pymetar/distinfo b/astro/py-pymetar/distinfo index 546dd2c53468..eb7266d8e3c8 100644 --- a/astro/py-pymetar/distinfo +++ b/astro/py-pymetar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1479406197 -SHA256 (pymetar-0.21.tar.gz) = 331978d9c54d49948e3817a782b857f247db6c279b8bb5bebd4f5b1a4bb503ea -SIZE (pymetar-0.21.tar.gz) = 22714 +TIMESTAMP = 1548177676 +SHA256 (pymetar-1.1.tar.gz) = c90a02ff147dd2753156efbf2a04eb1743c34e99a31bf3fe25569e5beba18278 +SIZE (pymetar-1.1.tar.gz) = 3162533 diff --git a/astro/py-pymetar/files/patch-setup.py b/astro/py-pymetar/files/patch-setup.py index 4bbc4f22030c..3a7aad48549d 100644 --- a/astro/py-pymetar/files/patch-setup.py +++ b/astro/py-pymetar/files/patch-setup.py @@ -1,11 +1,13 @@ ---- setup.py.orig 2015-04-20 08:17:26 UTC +--- setup.py.orig 2018-12-25 17:48:03 UTC +++ setup.py -@@ -26,7 +26,5 @@ setup(name="pymetar", version=pymetar.__ - packages=[""], - py_modules=["pymetar"], - scripts=["bin/pymetar"], -- data_files=[("share/doc/pymetar-%s" % pymetar.__version__, -- ['README', 'COPYING', 'THANKS', 'librarydoc.txt']), -- ("share/man/man1", ['pymetar.1'])] -+ data_files=[("man/man1", ['pymetar.1'])] - ) +@@ -31,9 +31,7 @@ setuptools.setup( + packages=setuptools.find_packages(), + py_modules=["pymetar"], + scripts=["bin/pymetar"], +- data_files=[("share/doc/pymetar-%s" % pymetar.__version__, +- ['README.md', 'COPYING', 'THANKS']), +- ("share/man/man1", ['pymetar.1'])], ++ data_files=[("man/man1", ['pymetar.1'])], + classifiers=( + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", |