Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140151924
D3285.id7617.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3285.id7617.diff
View Options
Index: ppy-gdbm/Makefile
===================================================================
--- ppy-gdbm/Makefile
+++ ppy-gdbm/Makefile
@@ -0,0 +1,33 @@
+# Created by: David Naylor <dbn@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= gdbm
+PORTVERSION= 2.6.0
+CATEGORIES= databases python
+PKGNAMEPREFIX= ppy${PYPY_VER}- #${PYTHON_PKGNAMEPREFIX}
+DISTFILES=
+
+MAINTAINER= dbn@FreeBSD.org
+COMMENT= PyPy bindings to the GNU dbm library
+
+LICENSE= MIT PSFL
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= pypy:${PORTSDIR}/lang/pypy
+LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
+RUN_DEPENDS= pypy:${PORTSDIR}/lang/pypy
+
+PLIST_FILES= %%PYPY_DIR%%/lib_pypy/_gdbm_cffi.pypy-%%PYPY_VER%%.so
+
+PYPY_DIR= pypy-${DISTVERSION:C|([0-9])\.([0-9]).*|\1.\2|}
+PYPY_VER= ${DISTVERSION:C|([0-9])\.([0-9]).*|\1\2|}
+PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_VER=${PYPY_VER}
+
+do-build:
+ ${LOCALBASE}/bin/pypy -c "from _gdbm_build import ffi; ffi.compile('${WRKDIR}');"
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy
+ ${INSTALL_LIB} ${WRKDIR}/_gdbm_cffi.pypy-${PYPY_VER}.so ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy
+
+.include <bsd.port.mk>
Index: ppy-gdbm/pkg-descr
===================================================================
--- ppy-gdbm/pkg-descr
+++ ppy-gdbm/pkg-descr
@@ -0,0 +1 @@
+PyPy bindings to the GNU dbm library.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 9:57 PM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27122776
Default Alt Text
D3285.id7617.diff (1 KB)
Attached To
Mode
D3285: lang/pypy: add separate ports for pypy-gdbm, pypy-sqlite3 and pypy-tkinter
Attached
Detach File
Event Timeline
Log In to Comment