pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/micropython Clean up PLIST.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/608269954011
branches:  trunk
changeset: 372216:608269954011
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Wed Nov 29 16:34:40 2017 +0000

description:
Clean up PLIST.

Since we install the one built file in the package Makefile, no need
to patch the dist install target.

diffstat:

 lang/micropython/Makefile                    |   3 ++-
 lang/micropython/PLIST                       |   7 +------
 lang/micropython/distinfo                    |   4 ++--
 lang/micropython/patches/patch-unix_Makefile |  19 +------------------
 4 files changed, 6 insertions(+), 27 deletions(-)

diffs (74 lines):

diff -r 041b3f945f18 -r 608269954011 lang/micropython/Makefile
--- a/lang/micropython/Makefile Wed Nov 29 15:14:07 2017 +0000
+++ b/lang/micropython/Makefile Wed Nov 29 16:34:40 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2017/11/29 15:13:31 hauke Exp $
+# $NetBSD: Makefile,v 1.4 2017/11/29 16:34:40 hauke Exp $
 
 DISTNAME=      micropython-1.9.2
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  http://micropython.org/resources/source/
 EXTRACT_SUFX=  .tar.xz
diff -r 041b3f945f18 -r 608269954011 lang/micropython/PLIST
--- a/lang/micropython/PLIST    Wed Nov 29 15:14:07 2017 +0000
+++ b/lang/micropython/PLIST    Wed Nov 29 16:34:40 2017 +0000
@@ -1,7 +1,2 @@
-@comment $NetBSD: PLIST,v 1.2 2017/11/29 15:13:31 hauke Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/11/29 16:34:40 hauke Exp $
 bin/micropython
-@pkgdir share/examples/micropython/unix
-@pkgdir share/examples/micropython/network
-@pkgdir share/examples/micropython/hwapi
-@pkgdir share/examples/micropython/embedding
-@pkgdir share/examples/micropython/SDdatalogger
diff -r 041b3f945f18 -r 608269954011 lang/micropython/distinfo
--- a/lang/micropython/distinfo Wed Nov 29 15:14:07 2017 +0000
+++ b/lang/micropython/distinfo Wed Nov 29 16:34:40 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2017/11/29 15:13:31 hauke Exp $
+$NetBSD: distinfo,v 1.5 2017/11/29 16:34:40 hauke Exp $
 
 SHA1 (micropython-1.9.2/micropython-1.9.2.tar.xz) = c14b2e7ebaefe86e60f4b11cf738947cf8204fba
 RMD160 (micropython-1.9.2/micropython-1.9.2.tar.xz) = 9c22131546c3e49bfa28b5f71994b20ee819d094
@@ -7,6 +7,6 @@
 SHA1 (patch-lib_utils_printf.c) = 6c152cd10a5fb0091d1149a0a50b202df6a6e931
 SHA1 (patch-mpy-cross_mpconfigport.h) = 78cf0865c60bf8fbbecb318e4f0597662076459e
 SHA1 (patch-py_mkenv.mk) = ff844cd4bcb6f9a2a27e02a62a066b4b70899c88
-SHA1 (patch-unix_Makefile) = 51a636af55719e454f1464aa7c1c06c0808de56a
+SHA1 (patch-unix_Makefile) = 459483caf54b9180f67bd07bbfa7fcf6088de1cc
 SHA1 (patch-unix_mpconfigport.h) = 544c0217ffcc8755adbb8c63a4b325af9b7ff8a2
 SHA1 (patch-unix_mpthreadport.c) = 5a021a4b1b7426ea7bae302870a04008381ee9c7
diff -r 041b3f945f18 -r 608269954011 lang/micropython/patches/patch-unix_Makefile
--- a/lang/micropython/patches/patch-unix_Makefile      Wed Nov 29 15:14:07 2017 +0000
+++ b/lang/micropython/patches/patch-unix_Makefile      Wed Nov 29 16:34:40 2017 +0000
@@ -1,9 +1,7 @@
-$NetBSD: patch-unix_Makefile,v 1.2 2017/11/29 15:13:32 hauke Exp $
+$NetBSD: patch-unix_Makefile,v 1.3 2017/11/29 16:34:40 hauke Exp $
 
 cpp(1) only accepts one file for input, we want cc -E here.
 
-Set up for pkgsrc install
-
 --- unix/Makefile.orig 2017-08-23 01:50:11.000000000 +0000
 +++ unix/Makefile
 @@ -73,6 +73,7 @@ LDFLAGS_ARCH = -Wl,-map,$@.map -Wl,-dead
@@ -14,18 +12,3 @@
  endif
  LDFLAGS = $(LDFLAGS_MOD) $(LDFLAGS_ARCH) -lm $(LDFLAGS_EXTRA)
  
-@@ -193,12 +194,10 @@ test: $(PROG) $(TOP)/tests/run-tests
- 
- # install micropython in /usr/local/bin
- TARGET = micropython
--PREFIX = $(DESTDIR)/usr/local
--BINDIR = $(PREFIX)/bin
-+BINDIR = $(DESTDIR)$(PREFIX)/bin
- 
- install: micropython
--      install -d $(BINDIR)
--      install $(TARGET) $(BINDIR)/$(TARGET)
-+      ${BSD_INSTALL_PROGRAM} $(TARGET) $(BINDIR)/$(TARGET)
- 
- # uninstall micropython
- uninstall:



Home | Main Index | Thread Index | Old Index