pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-gobject-shared Import py-gobject-shared, whic...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fdb422923a36
branches: trunk
changeset: 513152:fdb422923a36
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun May 21 18:40:20 2006 +0000
description:
Import py-gobject-shared, which contains Python version independent
files to avoid conflicts within py{23,24}-gobject.
diffstat:
devel/py-gobject-shared/DESCR | 2 ++
devel/py-gobject-shared/Makefile | 23 +++++++++++++++++++++++
devel/py-gobject-shared/PLIST | 4 ++++
devel/py-gobject-shared/buildlink3.mk | 22 ++++++++++++++++++++++
4 files changed, 51 insertions(+), 0 deletions(-)
diffs (67 lines):
diff -r 0fcf50de45e9 -r fdb422923a36 devel/py-gobject-shared/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject-shared/DESCR Sun May 21 18:40:20 2006 +0000
@@ -0,0 +1,2 @@
+Python bindings for the GObject.
+This package contains the common files for all Python versions.
diff -r 0fcf50de45e9 -r fdb422923a36 devel/py-gobject-shared/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject-shared/Makefile Sun May 21 18:40:20 2006 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $
+#
+
+PKGNAME= py-gobject-shared-2.10.1
+
+PYTHON_VERSION_REQD= ${PYTHON_VERSION_DEFAULT}
+
+.include "../../devel/py-gobject/Makefile.common"
+
+PYTHON_FOR_BUILD_ONLY= yes
+INSTALLATION_DIRS= include/pygtk-2.0 lib/pkgconfig
+
+do-build:
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/pygtk-2.0
+ ${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h ${PREFIX}/include/pygtk-2.0
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
+ ${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc ${PREFIX}/lib/pkgconfig
+
+.include "../../lang/python/extension.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0fcf50de45e9 -r fdb422923a36 devel/py-gobject-shared/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject-shared/PLIST Sun May 21 18:40:20 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $
+include/pygtk-2.0/pygobject.h
+lib/pkgconfig/pygobject-2.0.pc
+@dirrm include/pygtk-2.0
diff -r 0fcf50de45e9 -r fdb422923a36 devel/py-gobject-shared/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject-shared/buildlink3.mk Sun May 21 18:40:20 2006 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_GOBJECT_SHARED_BUILDLINK3_MK:= ${PY_GOBJECT_SHARED_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-gobject-shared
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gobject-shared}
+BUILDLINK_PACKAGES+= py-gobject-shared
+
+.if ${PY_GOBJECT_SHARED_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=2.10.1
+BUILDLINK_PKGSRCDIR.py-gobject-shared?= ../../devel/py-gobject-shared
+.endif # PY_GOBJECT_SHARED_BUILDLINK3_MK
+
+BUILDLINK_DEPMETHOD.py-gobject-shared?= build
+
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index