Update to py3-sane-2.9.1.
This commit is contained in:
parent
d98f1cb381
commit
d3199429d9
@ -1,13 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2021/01/04 14:06:33 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2021/01/24 18:18:45 ajacoutot Exp $
|
||||
|
||||
COMMENT= Python SANE module
|
||||
|
||||
MODPY_EGG_VERSION= 2.8.3
|
||||
MODPY_EGG_VERSION= 2.9.1
|
||||
DISTNAME= Sane-${MODPY_EGG_VERSION}
|
||||
DISTFILES= ${DISTNAME}{v${MODPY_EGG_VERSION}}.tar.gz
|
||||
PKGNAME= py-${DISTNAME:L}
|
||||
CATEGORIES= graphics
|
||||
REVISION= 3
|
||||
|
||||
HOMEPAGE= http://python-pillow.github.io/
|
||||
|
||||
@ -15,7 +14,7 @@ HOMEPAGE= http://python-pillow.github.io/
|
||||
# Permission to use, copy, modify and distribute freely.
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += pthread sane ${MODPY_WANTLIB}
|
||||
WANTLIB += pthread sane
|
||||
|
||||
MASTER_SITES= https://github.com/python-pillow/Sane/archive/
|
||||
|
||||
@ -23,13 +22,15 @@ FLAVORS= python3
|
||||
FLAVOR = python3
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
SUBST_VARS= MODPY_SITEPKG
|
||||
|
||||
MODPY_SETUPTOOLS= Yes
|
||||
|
||||
RUN_DEPENDS= graphics/py-Pillow${MODPY_FLAVOR} \
|
||||
math/py-numpy${MODPY_FLAVOR}
|
||||
|
||||
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
|
||||
graphics/sane-backends
|
||||
LIB_DEPENDS= graphics/sane-backends
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/setup.py
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (Sane-2.8.3.tar.gz) = HDqhwkYAfp5vexHKLJglbr7+1m9P8T3POBecchZ3Ai8=
|
||||
SIZE (Sane-2.8.3.tar.gz) = 20164
|
||||
SHA256 (Sane-2.9.1.tar.gz) = qCxnfg5Mr/ifGqrEy/LR1O5s2ReLORyIhXJUoeQpkfg=
|
||||
SIZE (Sane-2.9.1.tar.gz) = 20577
|
||||
|
@ -1,10 +1,12 @@
|
||||
$OpenBSD: patch-setup_py,v 1.3 2016/04/03 07:56:27 ajacoutot Exp $
|
||||
--- setup.py.orig Sat Aug 8 01:14:40 2015
|
||||
+++ setup.py Sun Apr 3 09:52:20 2016
|
||||
$OpenBSD: patch-setup_py,v 1.4 2021/01/24 18:18:45 ajacoutot Exp $
|
||||
|
||||
Index: setup.py
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -1,7 +1,8 @@
|
||||
from distutils.core import setup, Extension
|
||||
import setuptools
|
||||
|
||||
sane = Extension('_sane',
|
||||
sane = setuptools.Extension('_sane',
|
||||
- include_dirs=[],
|
||||
+ include_dirs=[ '${LOCALBASE}/include' ],
|
||||
+ library_dirs=['${LOCALBASE}/lib'],
|
||||
|
@ -1,8 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2021/01/04 14:06:33 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2021/01/24 18:18:45 ajacoutot Exp $
|
||||
@conflict py-sane-*
|
||||
@pkgpath graphics/py-Pillow,-sane${MODPY_FLAVOR}
|
||||
@pkgpath graphics/py-sane
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}sane.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@so lib/python${MODPY_VERSION}/site-packages/_sane.${MODPY_PYC_MAGIC_TAG}so
|
||||
lib/python${MODPY_VERSION}/site-packages/python_sane-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/python_sane-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/python_sane-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/python_sane-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/python_sane-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/python_sane-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/sane.py
|
||||
|
Loading…
Reference in New Issue
Block a user