Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2018 19:07:55 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478368 - in head/devel: . py-pooch
Message-ID:  <201808291907.w7TJ7tZU064878@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Aug 29 19:07:55 2018
New Revision: 478368
URL: https://svnweb.freebsd.org/changeset/ports/478368

Log:
  Add py-pooch 0.1
  
  Pooch manages your Python library's sample data files: it automatically
  downloads and stores them in a local directory, with support for versioning and
  corruption checks.
  
  WWW: https://github.com/fatiando/pooch

Added:
  head/devel/py-pooch/
  head/devel/py-pooch/Makefile   (contents, props changed)
  head/devel/py-pooch/distinfo   (contents, props changed)
  head/devel/py-pooch/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Aug 29 18:53:00 2018	(r478367)
+++ head/devel/Makefile	Wed Aug 29 19:07:55 2018	(r478368)
@@ -4845,6 +4845,7 @@
     SUBDIR += py-ply
     SUBDIR += py-podcastparser
     SUBDIR += py-polib
+    SUBDIR += py-pooch
     SUBDIR += py-positional
     SUBDIR += py-posix_ipc
     SUBDIR += py-pp

Added: head/devel/py-pooch/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pooch/Makefile	Wed Aug 29 19:07:55 2018	(r478368)
@@ -0,0 +1,31 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	pooch
+PORTVERSION=	0.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fetch your sample data files
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.tempfile>=0:devel/py-backports.tempfile@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/py-pooch/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pooch/distinfo	Wed Aug 29 19:07:55 2018	(r478368)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535483931
+SHA256 (pooch-0.1.tar.gz) = 2a6c4e8fa1e7036ef41f57f0f09933e4fe82dbb6bd295028fef25af7a675b6bf
+SIZE (pooch-0.1.tar.gz) = 36668

Added: head/devel/py-pooch/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pooch/pkg-descr	Wed Aug 29 19:07:55 2018	(r478368)
@@ -0,0 +1,5 @@
+Pooch manages your Python library's sample data files: it automatically
+downloads and stores them in a local directory, with support for versioning and
+corruption checks.
+
+WWW: https://github.com/fatiando/pooch



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808291907.w7TJ7tZU064878>