pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc py-demjson: removed; successor py-demjson3
details: https://anonhg.NetBSD.org/pkgsrc/rev/34cf3ebb3c6d
branches: trunk
changeset: 387313:34cf3ebb3c6d
user: adam <adam%pkgsrc.org@localhost>
date: Wed Oct 26 13:26:36 2022 +0000
description:
py-demjson: removed; successor py-demjson3
diffstat:
textproc/Makefile | 4 +-
textproc/py-demjson/ALTERNATIVES | 1 -
textproc/py-demjson/DESCR | 10 -----
textproc/py-demjson/Makefile | 27 ---------------
textproc/py-demjson/PLIST | 9 -----
textproc/py-demjson/distinfo | 6 ---
textproc/py-demjson/patches/patch-setup.py | 53 ------------------------------
7 files changed, 2 insertions(+), 108 deletions(-)
diffs (148 lines):
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/Makefile
--- a/textproc/Makefile Wed Oct 26 13:25:20 2022 +0000
+++ b/textproc/Makefile Wed Oct 26 13:26:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1330 2022/10/26 12:49:54 adam Exp $
+# $NetBSD: Makefile,v 1.1331 2022/10/26 13:26:36 adam Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -996,7 +996,7 @@
SUBDIR+= py-cssutils
SUBDIR+= py-deepdiff
SUBDIR+= py-defusedxml
-SUBDIR+= py-demjson
+SUBDIR+= py-demjson3
SUBDIR+= py-dicttoxml
SUBDIR+= py-diff-match-patch
SUBDIR+= py-dill
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/py-demjson/ALTERNATIVES
--- a/textproc/py-demjson/ALTERNATIVES Wed Oct 26 13:25:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-bin/jsonlint @PREFIX@/bin/jsonlint-@PYVERSSUFFIX@
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/py-demjson/DESCR
--- a/textproc/py-demjson/DESCR Wed Oct 26 13:25:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-The "demjson" module, and the included "jsonlint" script, provide methods
-for encoding and decoding JSON formatted data, as well as checking JSON data
-for errors and/or portability issues. The jsonlint command/script can be
-used from the command line without needing any programming.
-
-Although the standard Python library now includes basic JSON support (which
-it did not when demjson was first written), this module provides a much more
-comprehensive implementation with many features not found elsewhere. It is
-especially useful for error checking or for parsing JavaScript data which
-may not strictly be valid JSON data.
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/py-demjson/Makefile
--- a/textproc/py-demjson/Makefile Wed Oct 26 13:25:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2022/01/04 20:54:54 wiz Exp $
-
-DISTNAME= demjson-2.2.4
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
-CATEGORIES= textproc python
-MASTER_SITES= ${MASTER_SITE_PYPI:=d/demjson/}
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/dmeranda/demjson
-COMMENT= Encoder, decoder, and lint/validator for JSON compliant with RFC 7159
-LICENSE= gnu-lgpl-v3
-
-USE_LANGUAGES= # none
-
-.include "../../lang/python/egg.mk"
-
-.if ${PYPKGPREFIX} != "py27"
-pre-build:
- cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs jsonlint demjson.py
-.endif
-
-post-install:
- cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} jsonlint jsonlint-${PYVERSSUFFIX} || ${TRUE}
-
-.include "../../mk/bsd.pkg.mk"
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/py-demjson/PLIST
--- a/textproc/py-demjson/PLIST Wed Oct 26 13:25:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2020/05/07 09:29:04 adam Exp $
-bin/jsonlint-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/demjson.py
-${PYSITELIB}/demjson.pyc
-${PYSITELIB}/demjson.pyo
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/py-demjson/distinfo
--- a/textproc/py-demjson/distinfo Wed Oct 26 13:25:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.5 2021/12/06 15:03:50 wiz Exp $
-
-BLAKE2s (demjson-2.2.4.tar.gz) = b57a8d984d9a0e4f7f40444a9dd7c7ed0c0ce4acf7535e4a1f845c7ac635a487
-SHA512 (demjson-2.2.4.tar.gz) = d8a1cde062d0b062bdae29b6d79ad69fb9cc185428718a0009ccbed544ed37bd354fbb86edadb56bd98183ac8636b2edae322ed19aa5f07a7b6df668c7aa0029
-Size (demjson-2.2.4.tar.gz) = 131457 bytes
-SHA1 (patch-setup.py) = 5297d0d861704f6f6c0b0270987d9f23392669ec
diff -r 3ca13915a6b5 -r 34cf3ebb3c6d textproc/py-demjson/patches/patch-setup.py
--- a/textproc/py-demjson/patches/patch-setup.py Wed Oct 26 13:25:20 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-$NetBSD: patch-setup.py,v 1.2 2021/12/06 15:03:50 wiz Exp $
-
-Always use setuptools.
-
---- setup.py.orig 2015-12-22 20:02:25.000000000 +0000
-+++ setup.py
-@@ -9,23 +9,8 @@ try:
- except AttributeError:
- py_major = sys.version_info[0]
-
--distmech = None
--if py_major >= 3:
-- # Python 3, use setuptools first
-- try:
-- from setuptools import setup
-- distmech = 'setuptools'
-- except ImportError:
-- from distutils.core import setup
-- distmech = 'distutils'
--else:
-- # Python 2, use distutils first
-- try:
-- from distutils.core import setup
-- distmech = 'distutils'
-- except ImportError:
-- from setuptools import setup
-- distmech = 'setuptools'
-+from setuptools import setup
-+distmech = 'setuptools'
-
- if False:
- sys.stdout.write("Using Python: %s\n" % sys.version.split(None,1)[0])
-@@ -33,20 +18,6 @@ if False:
-
- py3extra = {}
-
--if py_major >= 3:
-- # Make sure 2to3 gets run
-- if distmech == 'setuptools':
-- py3extra['use_2to3'] = True
-- #py3extra['convert_2to3_doctests'] = ['src/your/module/README.txt']
-- #py3extra['use_2to3_fixers'] = ['your.fixers']
-- elif distmech == 'distutils':
-- import distutils, distutils.command, distutils.command.build_py, distutils.command.build_scripts
-- cmdclass = {
-- 'build_py': distutils.command.build_py.build_py_2to3,
-- 'build_scripts': distutils.command.build_scripts.build_scripts_2to3
-- }
-- py3extra['cmdclass'] = cmdclass
--
- setup( name=name,
- version=version,
- py_modules=[name],
Home |
Main Index |
Thread Index |
Old Index