pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics py-imagingtk: removed



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3353a3ce4bcb
branches:  trunk
changeset: 397154:3353a3ce4bcb
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 17 16:42:29 2019 +0000

description:
py-imagingtk: removed

diffstat:

 graphics/Makefile                      |    3 +-
 graphics/py-imagingtk/DESCR            |    2 -
 graphics/py-imagingtk/Makefile         |   33 ---------
 graphics/py-imagingtk/PLIST            |    7 --
 graphics/py-imagingtk/buildlink3.mk    |   18 -----
 graphics/py-imagingtk/distinfo         |    7 --
 graphics/py-imagingtk/patches/patch-aa |  114 ---------------------------------
 7 files changed, 1 insertions(+), 183 deletions(-)

diffs (222 lines):

diff -r 593db370e17e -r 3353a3ce4bcb graphics/Makefile
--- a/graphics/Makefile Mon Jun 17 16:40:40 2019 +0000
+++ b/graphics/Makefile Mon Jun 17 16:42:29 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.820 2019/06/16 13:11:34 adam Exp $
+# $NetBSD: Makefile,v 1.821 2019/06/17 16:42:29 adam Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -468,7 +468,6 @@
 SUBDIR+=       py-imageio
 SUBDIR+=       py-imagesize
 SUBDIR+=       py-imaging
-SUBDIR+=       py-imagingtk
 SUBDIR+=       py-matplotlib
 SUBDIR+=       py-mcomix
 SUBDIR+=       py-nwdiag
diff -r 593db370e17e -r 3353a3ce4bcb graphics/py-imagingtk/DESCR
--- a/graphics/py-imagingtk/DESCR       Mon Jun 17 16:40:40 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-The Python Imaging Librarys Tkinter support adds support to PIL for
-creating and modifying Tkinter BitmapImage and PhotoImage objects.
diff -r 593db370e17e -r 3353a3ce4bcb graphics/py-imagingtk/Makefile
--- a/graphics/py-imagingtk/Makefile    Mon Jun 17 16:40:40 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-# $NetBSD: Makefile,v 1.43 2019/04/26 13:14:01 maya Exp $
-
-DISTNAME=      Imaging-1.1.7
-PKGNAME=       ${PYPKGPREFIX}-imagingtk-1.1.7
-PKGREVISION=   8
-CATEGORIES=    graphics python
-MASTER_SITES=  http://effbot.org/downloads/
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.pythonware.com/products/pil/
-COMMENT=       Tk support for the Python Imaging Library (PIL)
-
-DEPENDS+=      ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
-
-DIST_SUBDIR=   python
-EGG_NAME=      ${DISTNAME:S/Imaging/PIL/}
-PY_NO_EGG=     yes # same egg installed by py-imaging
-PYTHON_VERSIONS_INCOMPATIBLE=   36 37 # py-imaging
-
-PLIST_SUBST+=  PYPKGPREFIX=${PYPKGPREFIX}
-
-post-install:
-       ${INSTALL_DATA_DIR} \
-               ${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-imaging
-       (cd ${WRKSRC}/Scripts; \
-       ${INSTALL_DATA} enhancer.py painter.py player.py \
-       thresholder.py viewer.py \
-       ${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-imaging )
-
-.include "../../lang/python/distutils.mk"
-.include "../../graphics/py-imaging/buildlink3.mk"
-.include "../../x11/tk/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 593db370e17e -r 3353a3ce4bcb graphics/py-imagingtk/PLIST
--- a/graphics/py-imagingtk/PLIST       Mon Jun 17 16:40:40 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.7 2014/01/21 11:24:56 wiz Exp $
-${PYSITELIB}/PIL/_imagingtk.so
-share/examples/${PYPKGPREFIX}-imaging/enhancer.py
-share/examples/${PYPKGPREFIX}-imaging/painter.py
-share/examples/${PYPKGPREFIX}-imaging/player.py
-share/examples/${PYPKGPREFIX}-imaging/thresholder.py
-share/examples/${PYPKGPREFIX}-imaging/viewer.py
diff -r 593db370e17e -r 3353a3ce4bcb graphics/py-imagingtk/buildlink3.mk
--- a/graphics/py-imagingtk/buildlink3.mk       Mon Jun 17 16:40:40 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.7 2018/01/07 13:04:16 rillig Exp $
-
-BUILDLINK_TREE+=       py-imagingtk
-
-.if !defined(PY_IMAGINGTK_BUILDLINK3_MK)
-PY_IMAGINGTK_BUILDLINK3_MK:=
-
-.include "../../lang/python/pyversion.mk"
-
-# guesstimate
-BUILDLINK_API_DEPENDS.py-imagingtk+=   ${PYPKGPREFIX}-imagingtk>=1.1.4
-BUILDLINK_ABI_DEPENDS.py-imagingtk+=   ${PYPKGPREFIX}-imagingtk>=1.1.7nb5
-BUILDLINK_PKGSRCDIR.py-imagingtk?=     ../../graphics/py-imagingtk
-
-.include "../../graphics/py-imaging/buildlink3.mk"
-.endif # PY_IMAGINGTK_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -py-imagingtk
diff -r 593db370e17e -r 3353a3ce4bcb graphics/py-imagingtk/distinfo
--- a/graphics/py-imagingtk/distinfo    Mon Jun 17 16:40:40 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 21:34:17 agc Exp $
-
-SHA1 (python/Imaging-1.1.7.tar.gz) = 76c37504251171fda8da8e63ecb8bc42a69a5c81
-RMD160 (python/Imaging-1.1.7.tar.gz) = 9af570fe100e250a4860314341fe3e6d695d7fde
-SHA512 (python/Imaging-1.1.7.tar.gz) = fec2d39b4db3cb33cd7e7895aba4c3a8a5d4cff28decb9106c88e392cb848edf5593fcd77d11994bb16321837fdb26958787dac2c86d6f7c09996f466bac11f1
-Size (python/Imaging-1.1.7.tar.gz) = 498749 bytes
-SHA1 (patch-aa) = 8cdb73394732265e81d8a99e8457b43e7f39e78f
diff -r 593db370e17e -r 3353a3ce4bcb graphics/py-imagingtk/patches/patch-aa
--- a/graphics/py-imagingtk/patches/patch-aa    Mon Jun 17 16:40:40 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2009/12/11 21:40:30 drochner Exp $
-
---- setup.py.orig      2009-11-15 17:06:10.000000000 +0100
-+++ setup.py
-@@ -85,6 +85,7 @@ except ImportError:
- from distutils import sysconfig
- from distutils.core import Extension, setup
- from distutils.command.build_ext import build_ext
-+from distutils.command.install import install
- 
- try:
-     import _tkinter
-@@ -147,7 +148,7 @@ class pil_build_ext(build_ext):
-             add_directory(library_dirs, "/opt/local/lib")
-             add_directory(include_dirs, "/opt/local/include")
- 
--        add_directory(library_dirs, "/usr/local/lib")
-+#        add_directory(library_dirs, "/usr/local/lib")
-         # FIXME: check /opt/stuff directories here?
- 
-         prefix = sysconfig.get_config_var("prefix")
-@@ -208,8 +209,8 @@ class pil_build_ext(build_ext):
-                 add_directory(include_dirs, tcl_dir)
- 
-         # standard locations
--        add_directory(library_dirs, "/usr/local/lib")
--        add_directory(include_dirs, "/usr/local/include")
-+#        add_directory(library_dirs, "/usr/local/lib")
-+#        add_directory(include_dirs, "/usr/local/include")
- 
-         add_directory(library_dirs, "/usr/lib")
-         add_directory(include_dirs, "/usr/include")
-@@ -243,7 +244,7 @@ class pil_build_ext(build_ext):
-         if find_library_file(self, "tiff"):
-             feature.tiff = "tiff"
- 
--        if find_library_file(self, "freetype"):
-+        if 0:
-             # look for freetype2 include files
-             freetype_version = 0
-             for dir in self.compiler.include_dirs:
-@@ -264,9 +265,9 @@ class pil_build_ext(build_ext):
-                 if dir:
-                     add_directory(self.compiler.include_dirs, dir, 0)
- 
--        if find_include_file(self, "lcms.h"):
--            if find_library_file(self, "lcms"):
--                feature.lcms = "lcms"
-+#        if find_include_file(self, "lcms.h"):
-+#            if find_library_file(self, "lcms"):
-+#                feature.lcms = "lcms"
- 
-         if _tkinter and find_include_file(self, "tk.h"):
-             # the library names may vary somewhat (e.g. tcl84 or tcl8.4)
-@@ -302,9 +303,10 @@ class pil_build_ext(build_ext):
-         if struct.unpack("h", "\0\1")[0] == 1:
-             defs.append(("WORDS_BIGENDIAN", None))
- 
--        exts = [(Extension(
--            "_imaging", files, libraries=libs, define_macros=defs
--            ))]
-+#        exts = [(Extension(
-+#            "_imaging", files, libraries=libs, define_macros=defs
-+#            ))]
-+      exts = []
- 
-         #
-         # additional libraries
-@@ -360,8 +362,8 @@ class pil_build_ext(build_ext):
-                 libraries=[feature.tcl, feature.tk]
-                 ))
- 
--        if os.path.isfile("_imagingmath.c"):
--            exts.append(Extension("_imagingmath", ["_imagingmath.c"]))
-+#        if os.path.isfile("_imagingmath.c"):
-+#            exts.append(Extension("_imagingmath", ["_imagingmath.c"]))
- 
-         self.extensions[:] = exts
- 
-@@ -445,6 +447,10 @@ class pil_build_ext(build_ext):
-             if m.group(1) < "1.2.3":
-                 return m.group(1)
- 
-+class pkgsrcinstall(install):
-+      def initialize_options(self):
-+              install.initialize_options(self)
-+              self.install_path_file = 0
- #
- # build!
- 
-@@ -470,7 +476,8 @@ if __name__ == "__main__":
-             "Topic :: Multimedia :: Graphics :: Graphics Conversion",
-             "Topic :: Multimedia :: Graphics :: Viewers",
-             ],
--        cmdclass = {"build_ext": pil_build_ext},
-+        cmdclass = {"build_ext": pil_build_ext,
-+              "install": pkgsrcinstall},
-         description=DESCRIPTION,
-         download_url=DOWNLOAD_URL % (NAME, VERSION),
-         ext_modules = [Extension("_imaging", ["_imaging.c"])], # dummy
-@@ -478,10 +485,10 @@ if __name__ == "__main__":
-         license="Python (MIT style)",
-         long_description=DESCRIPTION,
-         name=NAME,
--        package_dir={"": "PIL"},
--        packages=[""],
-+#        package_dir={"": "PIL"},
-+#        packages=[""],
-         platforms="Python 1.5.2 and later.",
--        scripts = glob.glob("Scripts/pil*.py"),
-+#        scripts = glob.glob("Scripts/pil*.py"),
-         url=HOMEPAGE,
-         version=VERSION,
-         )



Home | Main Index | Thread Index | Old Index