Import py-smbc-1.0.10.

Set of Python bindings for the libsmbclient library from the SAMBA
project.

ok jasper@
This commit is contained in:
ajacoutot 2011-05-04 08:03:18 +00:00
parent 55444ad507
commit 5ba3e44e60
4 changed files with 48 additions and 0 deletions

38
net/py-smbc/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/04 08:03:18 ajacoutot Exp $
COMMENT= Python bindings to wrap the libsmbclient API
MODPY_EGG_VERSION= 1.0.10
DISTNAME= pysmbc-${MODPY_EGG_VERSION}
PKGNAME= py-smbc-${MODPY_EGG_VERSION}
CATEGORIES= net
HOMEPAGE= http://cyberelk.net/tim/software/pysmbc/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += smbclient
MASTER_SITES= http://pypi.python.org/packages/source/p/pysmbc/
EXTRACT_SUFX= .tar.bz2
MODULES= lang/python
LIB_DEPENDS= net/samba
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${MODPY_EGG_VERSION}\"
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= PYTHON="${MODPY_BIN}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
NO_REGRESS= Yes
.include <bsd.port.mk>

5
net/py-smbc/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (pysmbc-1.0.10.tar.bz2) = cswS1sA3xoyoE1UVGlgIOw==
RMD160 (pysmbc-1.0.10.tar.bz2) = bisW5P3cO20tZ/40XwRtgW9JMps=
SHA1 (pysmbc-1.0.10.tar.bz2) = GWOvbn/LdXM9WjmP/AxFeFMrxh0=
SHA256 (pysmbc-1.0.10.tar.bz2) = lovqafhwX8p+JJFRHjsvqD7BbKYisuGOR4UUeBhPJuM=
SIZE (pysmbc-1.0.10.tar.bz2) = 20520

2
net/py-smbc/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Set of Python bindings for the libsmbclient library from the SAMBA
project.

3
net/py-smbc/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/04 08:03:18 ajacoutot Exp $
lib/python${MODPY_VERSION}/site-packages/pysmbc-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/smbc.so