Update to mygpoclient-1.8 and switch to py3

From Tim Meunier (maintainer) with tweaks
This commit is contained in:
danj 2018-01-25 03:35:30 +00:00
parent 03f20c28f0
commit 149f3aec47
4 changed files with 44 additions and 25 deletions

View File

@ -1,20 +1,21 @@
# $OpenBSD: Makefile,v 1.3 2015/11/16 13:52:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.4 2018/01/25 03:35:30 danj Exp $
COMMENT= gpodder.net client library
MODPY_EGG_VERSION= 1.7
MODPY_EGG_VERSION= 1.8
DISTNAME= mygpoclient-${MODPY_EGG_VERSION}
CATEGORIES= net devel
HOMEPAGE= http://thp.io/2010/mygpoclient/
MAINTAINER= Tim Meunier <trondd@kagu-tsuchi.com>
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}
MODULES= lang/python
MODPY_PI= Yes
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
NO_TEST= Yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mygpoclient-1.7.tar.gz) = agt7H+KwRodUVuFO2j5CQw5JO/IlGmRIHPT9Gh4hqA4=
SIZE (mygpoclient-1.7.tar.gz) = 35890
SHA256 (mygpoclient-1.8.tar.gz) = sAJ3Rub759tkZnPH4jG/pws/XLBECx53BPnZGqbpJbo=
SIZE (mygpoclient-1.8.tar.gz) = 37766

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-setup_py,v 1.1 2018/01/25 03:35:30 danj Exp $
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -37,7 +37,7 @@ else:
AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()
DATA_FILES = [
- ('share/man/man1', glob.glob('man/*')),
+ ('man/man1', glob.glob('man/*')),
]
CLASSIFIERS = [

View File

@ -1,36 +1,40 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/20 10:50:41 jasper Exp $
bin/bpsync
@comment $OpenBSD: PLIST,v 1.2 2018/01/25 03:35:30 danj Exp $
bin/mygpo-bpsync
bin/mygpo-list-devices
bin/mygpo-simple-client
lib/python${MODPY_VERSION}/site-packages/mygpoclient/
lib/python${MODPY_VERSION}/site-packages/mygpoclient-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/mygpoclient/__init__.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}api_test.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}feeds.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}http_test.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}json.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}json_test.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}locator.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}locator_test.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}public.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}public_test.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}simple.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}simple_test.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}testing.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/api.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/api.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/api_test.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/api_test.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/feeds.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/feeds.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/http.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/http.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/http_test.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/http_test.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/json.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/json.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/json_test.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/json_test.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator_test.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/locator_test.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/public.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/public.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/public_test.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/public_test.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple_test.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/simple_test.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/testing.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/testing.pyc
lib/python${MODPY_VERSION}/site-packages/mygpoclient/util.py
lib/python${MODPY_VERSION}/site-packages/mygpoclient/util.pyc
@man man/man1/mygpo-bpsync.1