build py-openssl,python3

This commit is contained in:
sthen 2015-11-03 21:53:20 +00:00
parent daabf44ebb
commit 68acf7c63c
3 changed files with 27 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.390 2015/10/28 09:56:27 rpointel Exp $
# $OpenBSD: Makefile,v 1.391 2015/11/03 21:53:20 sthen Exp $
SUBDIR =
SUBDIR += ADMsmb
@ -245,6 +245,7 @@
SUBDIR += py-keyring,python3
SUBDIR += py-libnacl
SUBDIR += py-openssl
SUBDIR += py-openssl,python3
SUBDIR += py-oauthlib
SUBDIR += py-paramiko
SUBDIR += py-passlib

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.27 2015/10/19 11:00:58 sthen Exp $
# $OpenBSD: Makefile,v 1.28 2015/11/03 21:53:20 sthen Exp $
COMMENT= Python interface to the OpenSSL library
MODPY_EGG_VERSION= 0.15.1
REVISION= 0
REVISION= 1
DISTNAME= pyOpenSSL-${MODPY_EGG_VERSION}
PKGNAME= py-openssl-${MODPY_EGG_VERSION}
CATEGORIES= security devel
@ -15,12 +15,14 @@ MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# Apache 2
PERMIT_PACKAGE_CDROM= Yes
RUN_DEPENDS = security/py-cryptography
BUILD_DEPENDS = ${RUN_DEPENDS}
WANTLIB += ${MODPY_WANTLIB}
WANTLIB += crypto pthread ssl
FLAVORS= python3
RUN_DEPENDS = security/py-cryptography${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
@ -28,7 +30,7 @@ MODULES= lang/python
TEST_DEPENDS=${FULLPKGNAME}:${BUILD_PKGPATH}
EXAMPLESDIR= ${PREFIX}/share/examples/py-openssl
EXAMPLESDIR= ${PREFIX}/share/examples/${MODPY_PY_PREFIX}openssl
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/simple

View File

@ -1,34 +1,36 @@
@comment $OpenBSD: PLIST,v 1.7 2015/10/06 20:47:46 sthen Exp $
@comment $OpenBSD: PLIST,v 1.8 2015/11/03 21:53:20 sthen Exp $
lib/python${MODPY_VERSION}/site-packages/OpenSSL/
lib/python${MODPY_VERSION}/site-packages/OpenSSL/SSL.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/SSL.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/__init__.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}SSL.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}_util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}crypto.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}rand.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}tsafe.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/_util.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/_util.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/crypto.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/crypto.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/rand.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/rand.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/__init__.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}test_crypto.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}test_rand.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}test_ssl.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}test_tsafe.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}test_util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_crypto.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_crypto.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_rand.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_rand.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_ssl.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_ssl.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_tsafe.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_tsafe.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_util.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/test_util.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/util.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/test/util.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/tsafe.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/tsafe.pyc
lib/python${MODPY_VERSION}/site-packages/OpenSSL/version.py
lib/python${MODPY_VERSION}/site-packages/OpenSSL/version.pyc
lib/python${MODPY_VERSION}/site-packages/pyOpenSSL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pyOpenSSL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/pyOpenSSL-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt