Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 13:17:14 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365729 - in head/www/py-bjoern: . files
Message-ID:  <201408231317.s7NDHEv0014129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sat Aug 23 13:17:14 2014
New Revision: 365729
URL: http://svnweb.freebsd.org/changeset/ports/365729
QAT: https://qat.redports.org/buildarchive/r365729/

Log:
  - Update to 1.4.0
  - Switch to USES= python
  - Add LICENSE_FILE

Added:
  head/www/py-bjoern/files/
  head/www/py-bjoern/files/patch-bjoern__server.c   (contents, props changed)
Modified:
  head/www/py-bjoern/Makefile
  head/www/py-bjoern/distinfo

Modified: head/www/py-bjoern/Makefile
==============================================================================
--- head/www/py-bjoern/Makefile	Sat Aug 23 13:13:26 2014	(r365728)
+++ head/www/py-bjoern/Makefile	Sat Aug 23 13:17:14 2014	(r365729)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bjoern
-PORTVERSION=	1.3.4
+PORTVERSION=	1.4.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,12 @@ MAINTAINER=	olivierd@FreeBSD.org
 COMMENT=	Fast Python WSGI server
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libev.so:${PORTSDIR}/devel/libev
 
-USE_PYTHON=	2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=	python:2
+USE_PYTHON=	distutils autoplist
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lc

Modified: head/www/py-bjoern/distinfo
==============================================================================
--- head/www/py-bjoern/distinfo	Sat Aug 23 13:13:26 2014	(r365728)
+++ head/www/py-bjoern/distinfo	Sat Aug 23 13:17:14 2014	(r365729)
@@ -1,2 +1,2 @@
-SHA256 (bjoern-1.3.4.tar.gz) = b3c175a326b7baff92739f384cda47644f71940acce89b049cf3a8fbc90d13cd
-SIZE (bjoern-1.3.4.tar.gz) = 26322
+SHA256 (bjoern-1.4.0.tar.gz) = eea48ebd63b8a545f65801d8f3568ac0e5c17c8d80eaa537e463ee38f98d678e
+SIZE (bjoern-1.4.0.tar.gz) = 25985

Added: head/www/py-bjoern/files/patch-bjoern__server.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-bjoern/files/patch-bjoern__server.c	Sat Aug 23 13:17:14 2014	(r365729)
@@ -0,0 +1,14 @@
+--- ./bjoern/server.c.orig	2013-12-08 21:38:42.000000000 +0000
++++ ./bjoern/server.c	2014-08-23 14:45:32.000000000 +0000
+@@ -1,6 +1,11 @@
+ #ifdef WANT_SIGINT_HANDLING
+ # include <sys/signal.h>
+ #endif
++#if defined __FreeBSD__
++#include <netinet/in.h> /* struct sockaddr_in */
++#include <sys/types.h>
++#include <sys/socket.h>
++#endif
+ #include <arpa/inet.h>
+ #include <fcntl.h>
+ #include <ev.h>



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