From owner-svn-ports-all@freebsd.org Tue Oct 23 22:41:13 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCFF4FFFDE3; Tue, 23 Oct 2018 22:41:13 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73101744F7; Tue, 23 Oct 2018 22:41:13 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6DED6163DE; Tue, 23 Oct 2018 22:41:13 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9NMfDYE014095; Tue, 23 Oct 2018 22:41:13 GMT (envelope-from dch@FreeBSD.org) Received: (from dch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9NMfChd014090; Tue, 23 Oct 2018 22:41:12 GMT (envelope-from dch@FreeBSD.org) Message-Id: <201810232241.w9NMfChd014090@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dch set sender to dch@FreeBSD.org using -f From: Dave Cottlehuber Date: Tue, 23 Oct 2018 22:41:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482876 - in head/sysutils: . py-packet-python py-packet-python/files X-SVN-Group: ports-head X-SVN-Commit-Author: dch X-SVN-Commit-Paths: in head/sysutils: . py-packet-python py-packet-python/files X-SVN-Commit-Revision: 482876 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 22:41:14 -0000 Author: dch Date: Tue Oct 23 22:41:12 2018 New Revision: 482876 URL: https://svnweb.freebsd.org/changeset/ports/482876 Log: new port: sysutils/py-packet-python: provides packet.net API wrapper packet.net is a "bare metal as a service" infrastructure provider, with a python-enabled API. This module plays nicely with ansible, see upstream module docs for that integration. Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D17517 Added: head/sysutils/py-packet-python/ head/sysutils/py-packet-python/Makefile (contents, props changed) head/sysutils/py-packet-python/distinfo (contents, props changed) head/sysutils/py-packet-python/files/ head/sysutils/py-packet-python/files/patch-setup.py (contents, props changed) head/sysutils/py-packet-python/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Oct 23 22:40:16 2018 (r482875) +++ head/sysutils/Makefile Tue Oct 23 22:41:12 2018 (r482876) @@ -859,6 +859,7 @@ SUBDIR += p5-arclog SUBDIR += p5-reslog SUBDIR += packer + SUBDIR += packet-python SUBDIR += pacman SUBDIR += paicc SUBDIR += paladin Added: head/sysutils/py-packet-python/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-packet-python/Makefile Tue Oct 23 22:41:12 2018 (r482876) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= packet-python +DISTVERSION= 1.37.1 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dch@FreeBSD.org +COMMENT= Python client for Packet.net API + +LICENSE= LGPL3+ + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>2.18.0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist concurrent + +NO_ARCH= yes + +.include Added: head/sysutils/py-packet-python/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-packet-python/distinfo Tue Oct 23 22:41:12 2018 (r482876) @@ -0,0 +1,3 @@ +TIMESTAMP = 1539263425 +SHA256 (packet-python-1.37.1.tar.gz) = 316941d2473c0f42ac17ac89e9aa63a023bb96f35cf8eafe9e091ea424892778 +SIZE (packet-python-1.37.1.tar.gz) = 9607 Added: head/sysutils/py-packet-python/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-packet-python/files/patch-setup.py Tue Oct 23 22:41:12 2018 (r482876) @@ -0,0 +1,29 @@ +--- setup.py.orig 2018-01-08 17:58:49 UTC ++++ setup.py +@@ -1,7 +1,6 @@ + #!/usr/bin/env python + + import os +-import pypandoc + + # Notes for the not-an-everyday-python-dev for package distribution on pypi + # +@@ -45,10 +44,6 @@ except ImportError: + from setuptools import setup + + long_description = 'This library provides the python client for the Packet API.' +-if os.path.isfile('README.md') and os.path.isfile('CHANGELOG.md'): +- readme = pypandoc.convert_file('README.md', 'rst') +- changelog = pypandoc.convert_file('CHANGELOG.md', 'rst') +- long_description = readme + '\n' + changelog + + setup( + name='packet-python', +@@ -61,7 +56,6 @@ setup( + keywords='packet api client', + packages=['packet'], + install_requires='requests', +- setup_requires='pypandoc', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', Added: head/sysutils/py-packet-python/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-packet-python/pkg-descr Tue Oct 23 22:41:12 2018 (r482876) @@ -0,0 +1,4 @@ +Python client for the packet.net API. Full Packet API documentation is available +at https://www.packet.net/developers/api + +WWW: https://pypi.python.org/pypi/packet-python