Remove py-cups; only system-config-printer was using it.
This commit is contained in:
parent
fdbfb13a06
commit
5bbd5de813
@ -1,40 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:37:54 espie Exp $
|
||||
|
||||
COMMENT= CUPS bindings for Python
|
||||
|
||||
MODPY_EGG_VERSION= 1.9.62
|
||||
DISTNAME= pycups-${MODPY_EGG_VERSION}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
PKGNAME= py-cups-${MODPY_EGG_VERSION}
|
||||
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= print
|
||||
|
||||
HOMEPAGE= http://cyberelk.net/tim/software/pycups/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += cups pthread ${MODPY_WANTLIB}
|
||||
|
||||
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
|
||||
|
||||
MODULES= lang/python \
|
||||
converters/libiconv
|
||||
|
||||
LIB_DEPENDS= print/cups,-libs \
|
||||
${MODPY_LIB_DEPENDS}
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${MODPY_EGG_VERSION}\"
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
MAKE_ENV= PYTHON="${MODPY_BIN}"
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/cupsconnection.c
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (pycups-1.9.62.tar.bz2) = fK19Z21uS3WdB+zv4lGctDin0HTme0ED797/gkfMUas=
|
||||
SIZE (pycups-1.9.62.tar.bz2) = 52859
|
@ -1,38 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.5 2011/10/06 06:00:02 ajacoutot Exp $
|
||||
--- Makefile.orig Thu Aug 4 13:33:15 2011
|
||||
+++ Makefile Thu Oct 6 07:56:52 2011
|
||||
@@ -1,5 +1,5 @@
|
||||
NAME=pycups
|
||||
-VERSION:=$(shell python setup.py --version)
|
||||
+VERSION:=$(shell ${PYTHON} setup.py --version)
|
||||
SDIST_ARGS=--formats=bztar -d.
|
||||
RPMCONFIGDIR:=$(shell rpm -E "%{_rpmconfigdir}" 2>/dev/null || :)
|
||||
|
||||
@@ -12,7 +12,7 @@ DIST=Makefile test.py \
|
||||
COPYING NEWS README TODO ChangeLog
|
||||
|
||||
cups.so: force
|
||||
- python setup.py build
|
||||
+ ${PYTHON} setup.py build
|
||||
ln -sf build/lib*/$@ .
|
||||
|
||||
doc: cups.so
|
||||
@@ -26,15 +26,15 @@ clean:
|
||||
-rm -rf build cups.so *.pyc *~
|
||||
|
||||
dist:
|
||||
- python setup.py sdist $(SDIST_ARGS)
|
||||
+ ${PYTHON} setup.py sdist $(SDIST_ARGS)
|
||||
|
||||
upload:
|
||||
- python setup.py sdist $(SDIST_ARGS) upload -s
|
||||
+ ${PYTHON} setup.py sdist $(SDIST_ARGS) upload -s
|
||||
|
||||
install: install-rpmhook
|
||||
ROOT= ; \
|
||||
if [ -n "$$DESTDIR" ]; then ROOT="--root $$DESTDIR"; fi; \
|
||||
- python setup.py install --skip-build $$ROOT
|
||||
+ ${PYTHON} setup.py install --skip-build $$ROOT
|
||||
|
||||
install-rpmhook:
|
||||
if [ -n "$(RPMCONFIGDIR)" ]; then \
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-setup_py,v 1.7 2012/10/21 18:39:00 ajacoutot Exp $
|
||||
--- setup.py.orig Wed Aug 1 13:05:19 2012
|
||||
+++ setup.py Sun Oct 21 20:35:59 2012
|
||||
@@ -38,7 +38,7 @@ import sys
|
||||
VERSION="1.9.62"
|
||||
libraries=["cups"]
|
||||
|
||||
-if sys.platform == "darwin":
|
||||
+if sys.platform == "darwin" or sys.platform.startswith("openbsd"):
|
||||
libraries.append ("iconv")
|
||||
|
||||
setup (name="pycups",
|
@ -1 +0,0 @@
|
||||
Python bindings for the CUPS API.
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2011/05/04 09:09:10 ajacoutot Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/cups.so
|
||||
lib/python${MODPY_VERSION}/site-packages/pycups-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
Loading…
Reference in New Issue
Block a user