[Midnightbsd-cvs] mports [24118] trunk: add several python ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 3 11:54:59 EDT 2018


Revision: 24118
          http://svnweb.midnightbsd.org/mports/?rev=24118
Author:   laffer1
Date:     2018-09-03 11:54:58 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
add several python ports

Modified Paths:
--------------
    trunk/archivers/Makefile
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/archivers/py-bz2file/
    trunk/archivers/py-bz2file/Makefile
    trunk/archivers/py-bz2file/distinfo
    trunk/archivers/py-bz2file/pkg-descr
    trunk/archivers/py-lz4/
    trunk/archivers/py-lz4/Makefile
    trunk/archivers/py-lz4/distinfo
    trunk/archivers/py-lz4/pkg-descr
    trunk/archivers/py-lz4/pkg-plist
    trunk/archivers/py-lzma/
    trunk/archivers/py-lzma/Makefile
    trunk/archivers/py-lzma/distinfo
    trunk/archivers/py-lzma/files/
    trunk/archivers/py-lzma/files/patch-setup.py
    trunk/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h
    trunk/archivers/py-lzma/pkg-descr
    trunk/devel/py-buildbot/
    trunk/devel/py-buildbot/Makefile
    trunk/devel/py-buildbot/distinfo
    trunk/devel/py-buildbot/files/
    trunk/devel/py-buildbot/files/buildbot.in
    trunk/devel/py-buildbot/pkg-descr
    trunk/devel/py-constantly/
    trunk/devel/py-constantly/Makefile
    trunk/devel/py-constantly/distinfo
    trunk/devel/py-constantly/pkg-descr
    trunk/devel/py-pkgconfig/
    trunk/devel/py-pkgconfig/Makefile
    trunk/devel/py-pkgconfig/distinfo
    trunk/devel/py-pkgconfig/pkg-descr
    trunk/devel/py-ramlfications/
    trunk/devel/py-ramlfications/Makefile
    trunk/devel/py-ramlfications/distinfo
    trunk/devel/py-ramlfications/pkg-descr
    trunk/devel/py-twisted/
    trunk/devel/py-twisted/Makefile
    trunk/devel/py-twisted/distinfo
    trunk/devel/py-twisted/pkg-descr

Modified: trunk/archivers/Makefile
===================================================================
--- trunk/archivers/Makefile	2018-09-03 15:54:42 UTC (rev 24117)
+++ trunk/archivers/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -48,6 +48,9 @@
 SUBDIR += php71-phar
 SUBDIR += php71-zip
 SUBDIR += php71-zlib
+SUBDIR += py-bz2file
+SUBDIR += py-lz4
+SUBDIR += py-lzma
 SUBDIR += rar
 SUBDIR += rpm4
 SUBDIR += rpm2cpio

Added: trunk/archivers/py-bz2file/Makefile
===================================================================
--- trunk/archivers/py-bz2file/Makefile	                        (rev 0)
+++ trunk/archivers/py-bz2file/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,18 @@
+# $MidnightBSD$
+
+PORTNAME=	bz2file
+PORTVERSION=	0.98
+CATEGORIES=	archivers python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Read and write bzip2-compressed files
+
+LICENSE=	apache2
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>


Property changes on: trunk/archivers/py-bz2file/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-bz2file/distinfo
===================================================================
--- trunk/archivers/py-bz2file/distinfo	                        (rev 0)
+++ trunk/archivers/py-bz2file/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,2 @@
+SHA256 (bz2file-0.98.tar.gz) = 64c1f811e31556ba9931953c8ec7b397488726c63e09a4c67004f43bdd28da88
+SIZE (bz2file-0.98.tar.gz) = 11333


Property changes on: trunk/archivers/py-bz2file/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-bz2file/pkg-descr
===================================================================
--- trunk/archivers/py-bz2file/pkg-descr	                        (rev 0)
+++ trunk/archivers/py-bz2file/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,7 @@
+Bz2file is a Python library for reading and writing bzip2-compressed files.
+
+It contains a drop-in replacement for the file interface in the standard
+library's bz2 module, including features from the latest development version
+of CPython that are not available in older releases.
+
+WWW: https://github.com/nvawda/bz2file


Property changes on: trunk/archivers/py-bz2file/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lz4/Makefile
===================================================================
--- trunk/archivers/py-lz4/Makefile	                        (rev 0)
+++ trunk/archivers/py-lz4/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,36 @@
+# $MidnightBSD$
+
+PORTNAME=	lz4
+PORTVERSION=	1.1.0
+CATEGORIES=	archivers python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python binding for the LZ4 compression library
+
+LICENSE=	bsd3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	liblz4>=1.7.5:archivers/liblz4 \
+		${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig \
+		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm
+LIB_DEPENDS=	liblz4.so:archivers/liblz4
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
+
+USE_PYTHON=	distutils py3kplist
+USES=		python
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_version.so \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/block/_block.so \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/frame/_frame.so
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future
+.endif
+
+.include <bsd.port.post.mk>


Property changes on: trunk/archivers/py-lz4/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lz4/distinfo
===================================================================
--- trunk/archivers/py-lz4/distinfo	                        (rev 0)
+++ trunk/archivers/py-lz4/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522845606
+SHA256 (lz4-1.1.0.tar.gz) = 9ede632d668995d6148942022c025c0f7ea0d97c275c099f9ad156e02cc1711e
+SIZE (lz4-1.1.0.tar.gz) = 114404


Property changes on: trunk/archivers/py-lz4/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lz4/pkg-descr
===================================================================
--- trunk/archivers/py-lz4/pkg-descr	                        (rev 0)
+++ trunk/archivers/py-lz4/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+Python binding for the lz4 compression library by Yann Collet.
+
+WWW: https://github.com/python-lz4/python-lz4


Property changes on: trunk/archivers/py-lz4/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lz4/pkg-plist
===================================================================
--- trunk/archivers/py-lz4/pkg-plist	                        (rev 0)
+++ trunk/archivers/py-lz4/pkg-plist	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,18 @@
+%%PYTHON_SITELIBDIR%%/lz4/__init__.py
+%%PYTHON_SITELIBDIR%%/lz4/__init__.pyc
+%%PYTHON_SITELIBDIR%%/lz4/__init__.pyo
+%%PYTHON_SITELIBDIR%%/lz4/_version.so
+%%PYTHON_SITELIBDIR%%/lz4/block/__init__.py
+%%PYTHON_SITELIBDIR%%/lz4/block/__init__.pyc
+%%PYTHON_SITELIBDIR%%/lz4/block/__init__.pyo
+%%PYTHON_SITELIBDIR%%/lz4/block/_block.so
+%%PYTHON_SITELIBDIR%%/lz4/frame/__init__.py
+%%PYTHON_SITELIBDIR%%/lz4/frame/__init__.pyc
+%%PYTHON_SITELIBDIR%%/lz4/frame/__init__.pyo
+%%PYTHON_SITELIBDIR%%/lz4/frame/_compression.py
+%%PYTHON_SITELIBDIR%%/lz4/frame/_compression.pyc
+%%PYTHON_SITELIBDIR%%/lz4/frame/_compression.pyo
+%%PYTHON_SITELIBDIR%%/lz4/frame/_frame.so
+%%PYTHON_SITELIBDIR%%/lz4/version.py
+%%PYTHON_SITELIBDIR%%/lz4/version.pyc
+%%PYTHON_SITELIBDIR%%/lz4/version.pyo


Property changes on: trunk/archivers/py-lz4/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lzma/Makefile
===================================================================
--- trunk/archivers/py-lzma/Makefile	                        (rev 0)
+++ trunk/archivers/py-lzma/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,35 @@
+# $MidnightBSD$
+
+PORTNAME=	lzma
+PORTVERSION=	0.4.9
+CATEGORIES=	archivers python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python binding for the LZMA compression library
+
+LICENSE=	lgpl2.1
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS=	amd64 i386
+USES=		dos2unix python
+USE_PYTHON=	concurrent distutils autoplist
+
+DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+
+PORTDOCS=	USAGE.md
+
+INSTALL_TARGET=	install-strip
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/pylzma.so
+
+.include <bsd.port.mk>


Property changes on: trunk/archivers/py-lzma/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lzma/distinfo
===================================================================
--- trunk/archivers/py-lzma/distinfo	                        (rev 0)
+++ trunk/archivers/py-lzma/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1505998419
+SHA256 (pylzma-0.4.9.tar.gz) = e974bc3a01260715145083c49dc28d365bb43f961ee7f6a2850c10562dbe6c5d
+SIZE (pylzma-0.4.9.tar.gz) = 115699


Property changes on: trunk/archivers/py-lzma/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lzma/files/patch-setup.py
===================================================================
--- trunk/archivers/py-lzma/files/patch-setup.py	                        (rev 0)
+++ trunk/archivers/py-lzma/files/patch-setup.py	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,19 @@
+--- setup.py.orig	2016-07-26 12:20:39 UTC
++++ setup.py
+@@ -28,13 +28,10 @@ from distutils import log
+ from distutils.command.build_ext import build_ext as _build_ext
+ from version import get_git_version
+ 
+-try:
+-    from setuptools import setup, Extension
+-except ImportError:
+-    from ez_setup import use_setuptools
+-    use_setuptools()
++from ez_setup import use_setuptools
++use_setuptools()
+ 
+-    from setuptools import setup, Extension
++from setuptools import setup, Extension
+ 
+ class UnsupportedPlatformWarning(Warning):
+     pass


Property changes on: trunk/archivers/py-lzma/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h
===================================================================
--- trunk/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h	                        (rev 0)
+++ trunk/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,17 @@
+--- src/compat/LzmaCompatDecode.h.orig	2016-07-26 12:20:39 UTC
++++ src/compat/LzmaCompatDecode.h
+@@ -39,14 +39,6 @@ extern "C" {
+ #  define LZMACALL
+ #endif
+ 
+-#ifndef malloc
+-# ifdef __APPLE__
+-#include <malloc/malloc.h>
+-# else
+-#include <malloc.h>
+-# endif
+-#endif
+-
+ #ifndef UInt32
+ #ifdef _LZMA_UINT32_IS_ULONG
+ #define UInt32 unsigned long


Property changes on: trunk/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/py-lzma/pkg-descr
===================================================================
--- trunk/archivers/py-lzma/pkg-descr	                        (rev 0)
+++ trunk/archivers/py-lzma/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,10 @@
+Python binding for the LZMA compression library.
+
+Supported Features:
+ * Compression / decompression of a single block of data
+ * Compression from a file-like object (must provide a read method)
+ * Streaming decompression through multiple calls to decompress.
+ * An initial library that supports reading of 7-zip archives (both
+   solid and non-solid)
+
+WWW: http://www.joachim-bauch.de/projects/python/pylzma


Property changes on: trunk/archivers/py-lzma/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2018-09-03 15:54:42 UTC (rev 24117)
+++ trunk/devel/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -476,11 +476,13 @@
 SUBDIR += py-bcdoc
 SUBDIR += py-boto
 SUBDIR += py-botocore
+SUBDIR += py-buildbot
 SUBDIR += py-cffi
 SUBDIR += py-colorama
 SUBDIR += py-configargparse
 SUBDIR += py-configobj
 SUBDIR += py-configparser
+SUBDIR += py-constantly
 SUBDIR += py-darcsver
 SUBDIR += py-dateutil
 SUBDIR += py-dbus
@@ -508,11 +510,13 @@
 SUBDIR += py-parsedatetime
 SUBDIR += py-parsing
 SUBDIR += py-ply
+SUBDIR += py-pkgconfig
 SUBDIR += py-pyasn1
 SUBDIR += py-pycparser
 SUBDIR += py-pyrfc3339
 SUBDIR += py-pytest-runner
 SUBDIR += py-pytz
+SUBDIR += py-ramlfications
 SUBDIR += py-setuptools_darcs
 SUBDIR += py-setuptools_hg
 SUBDIR += py-setuptools_scm
@@ -521,6 +525,7 @@
 SUBDIR += py-six
 SUBDIR += py-subversion
 SUBDIR += py-termcolor
+SUBDIR += py-twisted
 SUBDIR += py-virtualenv
 SUBDIR += py-wrapt
 SUBDIR += py-xdg

Added: trunk/devel/py-buildbot/Makefile
===================================================================
--- trunk/devel/py-buildbot/Makefile	                        (rev 0)
+++ trunk/devel/py-buildbot/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,49 @@
+# $MidnightBSD$
+
+PORTNAME=	buildbot
+PORTVERSION=	0.9.15
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Continuous Integration Framework
+
+LICENSE=	gpl2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}twisted>=14.0.1:devel/py-twisted \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.1:devel/py-Jinja2 \
+		${PYTHON_PKGNAMEPREFIX}autobahn>=0.16.0:www/py-autobahn \
+		${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:devel/py-dateutil \
+		${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future \
+		${PYTHON_PKGNAMEPREFIX}lz4>=0:archivers/py-lz4 \
+		${PYTHON_PKGNAMEPREFIX}pyjwt>=1.4.0:www/py-pyjwt \
+		${PYTHON_PKGNAMEPREFIX}ramlfications>0:devel/py-ramlfications \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.7:databases/py-sqlalchemy-migrate \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0.6:databases/py-sqlalchemy10 \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
+		${PYTHON_PKGNAMEPREFIX}treq>0:www/py-treq
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3 \
+		${PYTHON_PKGNAMEPREFIX}buildbot-worker>=${PORTVERSION}:devel/py-buildbot-worker \
+		${PYTHON_PKGNAMEPREFIX}buildbot-www>=${PORTVERSION}:devel/py-buildbot-www \
+		${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock
+
+USES=		python
+USE_RC_SUBR=	buildbot
+USE_PYTHON=	autoplist distutils
+
+SUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
+
+NO_ARCH=	yes
+
+post-patch:
+	@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${REINPLACE_CMD} -e \
+		's|/usr/bin/python|${PYTHON_CMD}|g'
+	@${FIND} ${WRKSRC} -name \*.bak -delete
+
+do-test:
+	${MKDIR} ${WRKDIR}/tmp
+	cd ${WRKDIR}/tmp && ${PYTHON_CMD} -m twisted.trial buildbot.test
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/py-buildbot/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-buildbot/distinfo
===================================================================
--- trunk/devel/py-buildbot/distinfo	                        (rev 0)
+++ trunk/devel/py-buildbot/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514920208
+SHA256 (buildbot-0.9.15.tar.gz) = d8f0aa6fded7c13e61e339a67970a821801c89f1be12275aeadc389080ff2a86
+SIZE (buildbot-0.9.15.tar.gz) = 3073156


Property changes on: trunk/devel/py-buildbot/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-buildbot/files/buildbot.in
===================================================================
--- trunk/devel/py-buildbot/files/buildbot.in	                        (rev 0)
+++ trunk/devel/py-buildbot/files/buildbot.in	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+# $FreeBSD: head/devel/py-buildbot/files/buildbot.in 445206 2017-07-07 03:47:38Z asomers $
+# PROVIDE: buildbot
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable buildbot:
+# buildbot_enable (bool):	Set to "NO" by default
+# buildbot_basedir (path):	Must be set to the path of the buildbot directory
+#				file, e.g. /var/www/buildbot
+# buildbot_user (str):		Set to "root" by default.  Change it to run
+#				buildbot as a different user.
+
+. /etc/rc.subr
+
+export PATH=${PATH}:%%PREFIX%%/bin
+
+name="buildbot"
+rcvar=buildbot_enable
+command="%%PREFIX%%/bin/buildbot"
+load_rc_config $name
+
+check_cmd="${name}_check"
+extra_commands="check reload"
+reload_cmd="${name}_reload"
+start_precmd="${name}_prestart"
+stop_precmd="${name}_prestop"
+
+pidfile="${buildbot_basedir}/twistd.pid"
+procname="%%PYTHON_CMD%%"
+
+buildbot_check()
+{
+	echo "Checking BuildBot config"
+	rc_flags="${buildbot_basedir} ${rc_flags}"
+	${command} checkconfig ${rc_flags}
+}
+
+buildbot_prestart()
+{
+	rc_flags="start ${buildbot_basedir} ${rc_flags}"
+}
+
+buildbot_prestop()
+{
+	rc_flags="stop ${buildbot_basedir} ${rc_flags}"
+}
+
+buildbot_reload()
+{
+	rc_flags="${buildbot_basedir} ${rc_flags}"
+	${command} sighup ${rc_flags}
+}
+
+run_rc_command "$1"


Property changes on: trunk/devel/py-buildbot/files/buildbot.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-buildbot/pkg-descr
===================================================================
--- trunk/devel/py-buildbot/pkg-descr	                        (rev 0)
+++ trunk/devel/py-buildbot/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,22 @@
+The BuildBot is a system to automate the compile/test cycle required by most
+software projects to validate code changes. By automatically rebuilding and
+testing the tree each time something has changed, build problems are
+pinpointed quickly, before other developers are inconvenienced by the
+failure. The guilty developer can be identified and harassed without human
+intervention. By running the builds on a variety of platforms, developers who
+do not have the facilities to test their changes everywhere before checkin will
+at least know shortly afterwards whether they have broken the build or not.
+
+Warning counts, lint checks, image size, compile time, and other build
+parameters can be tracked over time, are more visible, and are therefore
+easier to improve.
+
+The overall goal is to reduce tree breakage and provide a platform to run tests
+or code-quality checks that are too annoying or pedantic for any human to waste
+their time with. Developers get immediate (and potentially public) feedback
+about their changes, encouraging them to be more careful about testing before
+checkin.
+
+For more information, please see: https://buildbot.net/trac
+
+WWW: https://buildbot.net


Property changes on: trunk/devel/py-buildbot/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-constantly/Makefile
===================================================================
--- trunk/devel/py-constantly/Makefile	                        (rev 0)
+++ trunk/devel/py-constantly/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,18 @@
+# $MidnightBSD$
+
+PORTNAME=	constantly
+PORTVERSION=	15.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Provides symbolic constant support to Python projects
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/py-constantly/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-constantly/distinfo
===================================================================
--- trunk/devel/py-constantly/distinfo	                        (rev 0)
+++ trunk/devel/py-constantly/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1478965100
+SHA256 (constantly-15.1.0.tar.gz) = 586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
+SIZE (constantly-15.1.0.tar.gz) = 21465


Property changes on: trunk/devel/py-constantly/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-constantly/pkg-descr
===================================================================
--- trunk/devel/py-constantly/pkg-descr	                        (rev 0)
+++ trunk/devel/py-constantly/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,5 @@
+A library that provides symbolic constant support. It includes collections
+and constants with text, numeric, and bit flag values. Originally
+twisted.python.constants from the Twisted project.
+
+WWW: https://pypi.org/project/constantly/


Property changes on: trunk/devel/py-constantly/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-pkgconfig/Makefile
===================================================================
--- trunk/devel/py-pkgconfig/Makefile	                        (rev 0)
+++ trunk/devel/py-pkgconfig/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,21 @@
+# $MidnightBSD$
+
+PORTNAME=	pkgconfig
+PORTVERSION=	1.3.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Interface Python with pkg-config
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/py-pkgconfig/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-pkgconfig/distinfo
===================================================================
--- trunk/devel/py-pkgconfig/distinfo	                        (rev 0)
+++ trunk/devel/py-pkgconfig/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1519498717
+SHA256 (pkgconfig-1.3.1.tar.gz) = 0bc77e955a5990b466b7277234a88dc6a62f1f4388ac1e95469051c82a17fd80
+SIZE (pkgconfig-1.3.1.tar.gz) = 5713


Property changes on: trunk/devel/py-pkgconfig/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-pkgconfig/pkg-descr
===================================================================
--- trunk/devel/py-pkgconfig/pkg-descr	                        (rev 0)
+++ trunk/devel/py-pkgconfig/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,4 @@
+pkgconfig is a Python module to interface with the pkg-config command line tool.
+
+WWW: https://pypi.org/project/pkgconfig/
+WWW: https://github.com/matze/pkgconfig


Property changes on: trunk/devel/py-pkgconfig/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-ramlfications/Makefile
===================================================================
--- trunk/devel/py-ramlfications/Makefile	                        (rev 0)
+++ trunk/devel/py-ramlfications/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,24 @@
+# $MidnightBSD$
+
+PORTNAME=	ramlfications
+PORTVERSION=	0.1.9
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Python parser for RAML
+
+LICENSE=	apache2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=16.0.0:devel/py-attrs \
+		${PYTHON_PKGNAMEPREFIX}jsonref>=0.1:devel/py-jsonref \
+		${PYTHON_PKGNAMEPREFIX}markdown2>=2.3.2:textproc/py-markdown2 \
+		${PYTHON_PKGNAMEPREFIX}xmltodict>=0.10.1:devel/py-xmltodict \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml
+
+USES?=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/py-ramlfications/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-ramlfications/distinfo
===================================================================
--- trunk/devel/py-ramlfications/distinfo	                        (rev 0)
+++ trunk/devel/py-ramlfications/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1488907708
+SHA256 (ramlfications-0.1.9.tar.gz) = 7bb89c11b13bc6b4099ee7fa07c5285a54b64a5e9c71eb6ca99660358fb27677
+SIZE (ramlfications-0.1.9.tar.gz) = 1094577


Property changes on: trunk/devel/py-ramlfications/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-ramlfications/pkg-descr
===================================================================
--- trunk/devel/py-ramlfications/pkg-descr	                        (rev 0)
+++ trunk/devel/py-ramlfications/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+ramlfications: RAML reference implementation in Python
+
+WWW: https://github.com/spotify/ramlfications


Property changes on: trunk/devel/py-ramlfications/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-twisted/Makefile
===================================================================
--- trunk/devel/py-twisted/Makefile	                        (rev 0)
+++ trunk/devel/py-twisted/Makefile	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,32 @@
+# $MidnightBSD$
+
+PORTNAME=	twisted
+PORTVERSION=	17.9.0
+CATEGORIES=	devel net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	Twisted-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Asynchronous networking framework written in Python
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}constantly>=15.1:devel/py-constantly \
+		${PYTHON_PKGNAMEPREFIX}hyperlink>=17.1.1:www/py-hyperlink \
+		${PYTHON_PKGNAMEPREFIX}incremental>=16.10.1:devel/py-incremental \
+		${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.0:devel/py-zope.interface \
+		${PYTHON_PKGNAMEPREFIX}Automat>=0.3.0:devel/py-Automat
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USES=		python tar:bzip2
+USE_PYTHON=	autoplist concurrent distutils
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} +
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m twisted.trial -e twisted
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/py-twisted/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-twisted/distinfo
===================================================================
--- trunk/devel/py-twisted/distinfo	                        (rev 0)
+++ trunk/devel/py-twisted/distinfo	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506178625
+SHA256 (Twisted-17.9.0.tar.bz2) = 0da1a7e35d5fcae37bc9c7978970b5feb3bc82822155b8654ec63925c05af75c
+SIZE (Twisted-17.9.0.tar.bz2) = 3019243


Property changes on: trunk/devel/py-twisted/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-twisted/pkg-descr
===================================================================
--- trunk/devel/py-twisted/pkg-descr	                        (rev 0)
+++ trunk/devel/py-twisted/pkg-descr	2018-09-03 15:54:58 UTC (rev 24118)
@@ -0,0 +1,12 @@
+From the README:
+
+  Twisted is an event-based framework for Internet applications.  It includes
+  a web server, a telnet server, a chat server, a news server, a generic
+  client and server for remote object access, and APIs for creating new
+  protocols and services. Twisted supports integration of the Tk, GTK+, Qt or
+  wxPython event loop with its main event loop. The Win32 event loop is also
+  supported, as is basic support for running servers on top of Jython.
+
+Twisted is based on an unconventional and somewhat Twisted design philosophy.
+
+WWW: http://twistedmatrix.com/


Property changes on: trunk/devel/py-twisted/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list