summaryrefslogtreecommitdiff
path: root/sysutils/py-notify-python
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-04-29 13:23:58 +0000
committerryoon <ryoon@pkgsrc.org>2013-04-29 13:23:58 +0000
commit971964feddd818ca6c6e29d27036f45590a3b7c8 (patch)
treed39decec19f4b71342d5709d4710e47321d91f45 /sysutils/py-notify-python
parent9555f82b430019ef70536c9e307328fe79494c3f (diff)
downloadpkgsrc-971964feddd818ca6c6e29d27036f45590a3b7c8.tar.gz
Import py27-notify-python-0.1.1nb17 as sysutils/py-notify-python.
This package contains Python bindings for libnotify. This is as same as py-notify-0.1.1nb17. * Change PKGNAME. * Add LICENSE.
Diffstat (limited to 'sysutils/py-notify-python')
-rw-r--r--sysutils/py-notify-python/DESCR1
-rw-r--r--sysutils/py-notify-python/Makefile35
-rw-r--r--sysutils/py-notify-python/PLIST7
-rw-r--r--sysutils/py-notify-python/buildlink3.mk17
-rw-r--r--sysutils/py-notify-python/distinfo5
5 files changed, 65 insertions, 0 deletions
diff --git a/sysutils/py-notify-python/DESCR b/sysutils/py-notify-python/DESCR
new file mode 100644
index 00000000000..41584108e78
--- /dev/null
+++ b/sysutils/py-notify-python/DESCR
@@ -0,0 +1 @@
+This package contains Python bindings for libnotify.
diff --git a/sysutils/py-notify-python/Makefile b/sysutils/py-notify-python/Makefile
new file mode 100644
index 00000000000..3ee31de1d5a
--- /dev/null
+++ b/sysutils/py-notify-python/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2013/04/29 13:23:59 ryoon Exp $
+#
+
+DISTNAME= notify-python-0.1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 17
+CATEGORIES= sysutils
+MASTER_SITES= \
+ http://www.galago-project.org/files/releases/source/notify-python/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.galago-project.org/
+COMMENT= Python bindings for libnotify
+LICENSE= gnu-lgpl-v2.1
+
+CONFLICTS= ${PYPKGPREFIX}-notify<=0.1.1nb17
+SUPERSEDES= ${PYPKGPREFIX}-notify<=0.1.1nb17
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+PKGCONFIG_OVERRIDE+= notify-python.pc.in
+PY_PATCHPLIST= yes
+
+# Missing function attach_status_icon
+# http://trac.galago-project.org/ticket/121
+post-extract:
+ ${RM} -f ${WRKSRC}/src/pynotify.c
+
+.include "../../lang/python/extension.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-notify-python/PLIST b/sysutils/py-notify-python/PLIST
new file mode 100644
index 00000000000..0e7a1bf26b9
--- /dev/null
+++ b/sysutils/py-notify-python/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/29 13:23:59 ryoon Exp $
+lib/pkgconfig/notify-python.pc
+${PYSITELIB}/gtk-2.0/pynotify/__init__.py
+${PYSITELIB}/gtk-2.0/pynotify/__init__.pyc
+${PYSITELIB}/gtk-2.0/pynotify/__init__.pyo
+${PYSITELIB}/gtk-2.0/pynotify/_pynotify.la
+share/pygtk/2.0/defs/pynotify.defs
diff --git a/sysutils/py-notify-python/buildlink3.mk b/sysutils/py-notify-python/buildlink3.mk
new file mode 100644
index 00000000000..1a7bf9f0070
--- /dev/null
+++ b/sysutils/py-notify-python/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/04/29 13:23:59 ryoon Exp $
+
+BUILDLINK_TREE+= py-notify
+
+.if !defined(PY_NOTIFY_BUILDLINK3_MK)
+PY_NOTIFY_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.py-notify+= ${PYPKGPREFIX}-notify>=0.1.1
+BUILDLINK_ABI_DEPENDS.py-notify+= ${PYPKGPREFIX}-notify>=0.1.1nb17
+BUILDLINK_PKGSRCDIR.py-notify?= ../../sysutils/py-notify
+
+.include "../../x11/py-gtk2/buildlink3.mk"
+.endif # PY_NOTIFY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-notify
diff --git a/sysutils/py-notify-python/distinfo b/sysutils/py-notify-python/distinfo
new file mode 100644
index 00000000000..f8808b3db38
--- /dev/null
+++ b/sysutils/py-notify-python/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/04/29 13:23:59 ryoon Exp $
+
+SHA1 (notify-python-0.1.1.tar.bz2) = 490693cf601793f50cef1a3c82ba75025497fc00
+RMD160 (notify-python-0.1.1.tar.bz2) = 52f5b5cc7c01be32525db7a2edc0f3dee41911ef
+Size (notify-python-0.1.1.tar.bz2) = 214514 bytes