Update to py-httpbin 0.5.0

This commit is contained in:
shadchin 2016-08-19 07:39:05 +00:00
parent 4f218ab91b
commit cc96bdd8c4
3 changed files with 25 additions and 24 deletions

View File

@ -1,34 +1,34 @@
# $OpenBSD: Makefile,v 1.2 2016/01/28 04:14:36 shadchin Exp $
# $OpenBSD: Makefile,v 1.3 2016/08/19 07:39:05 shadchin Exp $
COMMENT = HTTP request and response service
COMMENT = HTTP request and response service
MODPY_EGG_VERSION = 0.4.1
DISTNAME = httpbin-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
MODPY_EGG_VERSION = 0.5.0
DISTNAME = httpbin-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = www
CATEGORIES = www
HOMEPAGE = https://github.com/Runscope/httpbin
HOMEPAGE = https://github.com/Runscope/httpbin
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODULES = lang/python
MODPY_PI = Yes
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = devel/py-decorator${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR} \
textproc/py-MarkupSafe${MODPY_FLAVOR} \
www/py-flask${MODPY_FLAVOR} \
www/py-itsdangerous${MODPY_FLAVOR}
RUN_DEPENDS = devel/py-decorator${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR} \
textproc/py-MarkupSafe${MODPY_FLAVOR} \
www/py-flask${MODPY_FLAVOR} \
www/py-itsdangerous${MODPY_FLAVOR}
FLAVORS = python3
FLAVORS = python3
FLAVOR ?=
NO_TEST = Yes
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (httpbin-0.4.1.tar.gz) = M2KunexDmRLjIofhnGc6CQZYpOGJH0SYXBaUz4HQUlg=
SIZE (httpbin-0.4.1.tar.gz) = 88101
SHA256 (httpbin-0.5.0.tar.gz) = efvF0n5BlOqQiw+hjgmlnZXSh8kWZ6ppvNAQNC0VibU=
SIZE (httpbin-0.5.0.tar.gz) = 88698

View File

@ -1,9 +1,10 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2016/01/05 12:39:47 shadchin Exp $
--- setup.py.orig Thu Dec 17 23:23:35 2015
+++ setup.py Thu Dec 17 23:24:10 2015
@@ -3,8 +3,8 @@ import codecs
$OpenBSD: patch-setup_py,v 1.2 2016/08/19 07:39:05 shadchin Exp $
--- setup.py.orig Thu Aug 11 05:49:19 2016
+++ setup.py Thu Aug 18 10:14:50 2016
@@ -1,8 +1,9 @@
from setuptools import setup, find_packages
import os
import re
+import codecs
-long_description = open(
- os.path.join(os.path.dirname(__file__), 'README.rst')).read()