pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/djbsort



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Feb 18 10:08:31 UTC 2021

Modified Files:
        pkgsrc/math/djbsort: Makefile buildlink3.mk distinfo

Log Message:
Update to 20190516. From the changelog:

Benchmarking:
- Speed tests now call cpucycles() before setting resource limits. This
  is important on platforms where cpucycles() needs to read files.

Verification:
- Support for SignExt and several more peephole optimizations, working
  towards support for simpler symbolic-execution backend. Various
  updates to work with angr8 and python3.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/djbsort/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/djbsort/buildlink3.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/djbsort/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/djbsort/Makefile
diff -u pkgsrc/math/djbsort/Makefile:1.7 pkgsrc/math/djbsort/Makefile:1.8
--- pkgsrc/math/djbsort/Makefile:1.7    Fri Dec  4 20:45:29 2020
+++ pkgsrc/math/djbsort/Makefile        Thu Feb 18 10:08:31 2021
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/12/04 20:45:29 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/02/18 10:08:31 schmonz Exp $
 
-DISTNAME=              djbsort-20180729
-PKGREVISION=           3
+DISTNAME=              djbsort-20190516
 CATEGORIES=            math
 MASTER_SITES=          ${HOMEPAGE}
 
@@ -10,18 +9,12 @@ HOMEPAGE=            https://sorting.cr.yp.to/
 COMMENT=               Library for sorting arrays of integers
 LICENSE=               public-domain
 
-DEPENDS+=              python27-[0-9]*:../../lang/python27
-
 USE_TOOLS+=            pax
 
-REPLACE_INTERPRETER+=  python27
-REPLACE.python27.old=  .*python2\{0,1\}[^ ]*
-REPLACE.python27.new=  ${LOCALBASE}/bin/python2.7
-REPLACE_FILES.python27=        verif/decompose verif/minmax verif/unroll
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27      # so a python3 will be auto-selected
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-REPLACE_PYTHON=                build test upgrade verif/tryinput
+REPLACE_PYTHON=                build test upgrade verif/decompose \
+                       verif/minmax verif/tryinput verif/unroll
 SUBST_CLASSES+=                python3
 SUBST_STAGE.python3=   do-configure
 SUBST_FILES.python3=   verif/verifymany
@@ -43,12 +36,12 @@ pre-configure:
 do-build:
        cd ${WRKSRC} && ./build
 
-pre-install:
+post-build:
        ${CP} pseudo-PLIST ${WRKSRC}
        cd ${WRKSRC} && ${FIND} . -type f | ${SORT} | ${SED} -e 's|^\.|${SHAREDIR}|g' > ${WRKDIR}/PLIST_DYNAMIC
 
 do-install:
-       cd ${WRKSRC} && pax -rw -pe -v . ${DESTDIR}${PREFIX}/${SHAREDIR}
+       cd ${WRKSRC} && pax -rw -pp -v . ${DESTDIR}${PREFIX}/${SHAREDIR}
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/djbsort/buildlink3.mk
diff -u pkgsrc/math/djbsort/buildlink3.mk:1.2 pkgsrc/math/djbsort/buildlink3.mk:1.3
--- pkgsrc/math/djbsort/buildlink3.mk:1.2       Tue Jul 31 05:38:56 2018
+++ pkgsrc/math/djbsort/buildlink3.mk   Thu Feb 18 10:08:31 2021
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2018/07/31 05:38:56 schmonz Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2021/02/18 10:08:31 schmonz Exp $
 
 BUILDLINK_TREE+=       djbsort
 
 .if !defined(DJBSORT_BUILDLINK3_MK)
 DJBSORT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.djbsort+=        djbsort>=20180717
+BUILDLINK_API_DEPENDS.djbsort+=        djbsort>=20190516
 BUILDLINK_PKGSRCDIR.djbsort?=  ../../math/djbsort
 BUILDLINK_DEPMETHOD.djbsort?=  build
 BUILDLINK_FILES_CMD.djbsort=   ${CAT} ${BUILDLINK_PREFIX.djbsort}/share/djbsort/pseudo-PLIST

Index: pkgsrc/math/djbsort/distinfo
diff -u pkgsrc/math/djbsort/distinfo:1.4 pkgsrc/math/djbsort/distinfo:1.5
--- pkgsrc/math/djbsort/distinfo:1.4    Thu Aug  9 09:14:16 2018
+++ pkgsrc/math/djbsort/distinfo        Thu Feb 18 10:08:31 2021
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2018/08/09 09:14:16 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2021/02/18 10:08:31 schmonz Exp $
 
-SHA1 (djbsort-20180729.tar.gz) = 7b64b9c5b3c6428cb6bc16638876f57ffff3c58b
-RMD160 (djbsort-20180729.tar.gz) = 65455661524b5d2cdd21c1c329a9065cfc9b3b0d
-SHA512 (djbsort-20180729.tar.gz) = b46c36514ce0c2c1716421d4da216d2e7ddb80e8e9a1b97b274ab0b3fe7271ea946a65485e81d4dc76c080658b41ef1e2fa64a225594532f1be98dc29535b2a6
-Size (djbsort-20180729.tar.gz) = 29347 bytes
+SHA1 (djbsort-20190516.tar.gz) = 0a5888c775dfe48d7d3dd7fd1c0fb3bc31d15c1a
+RMD160 (djbsort-20190516.tar.gz) = 2e4d916f43b5ca929d82ce77c012e9d32a2b4dff
+SHA512 (djbsort-20190516.tar.gz) = 55c0845c0fca81d7d9bae34774494f1620acc656c600c7e1833af62a55326d763424218e8b17e1c577ebb3d0049cadef4f627c4528385d50daa55bc48785b883
+Size (djbsort-20190516.tar.gz) = 30927 bytes
 SHA1 (patch-build) = eab611f7868f00a92781eb5a1eed6451607fb30b
 SHA1 (patch-test) = b5ba29b15d7baa896bf9e47a1522e88e73df4c9e
 SHA1 (patch-upgrade) = 2bec25c36e1ed28c67e4967ac929780d28bb2e68



Home | Main Index | Thread Index | Old Index