pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/py-esptool comms/py-esptool: Pivot to PyPi



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2afdafac19a5
branches:  trunk
changeset: 399640:2afdafac19a5
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Aug 13 16:44:27 2019 +0000

description:
comms/py-esptool: Pivot to PyPi

This avoids much pain with github's nonstandard naming conventions.

diffstat:

 comms/py-esptool/Makefile |  14 ++++----------
 comms/py-esptool/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 15 deletions(-)

diffs (45 lines):

diff -r 9523be22932b -r 2afdafac19a5 comms/py-esptool/Makefile
--- a/comms/py-esptool/Makefile Tue Aug 13 16:41:40 2019 +0000
+++ b/comms/py-esptool/Makefile Tue Aug 13 16:44:27 2019 +0000
@@ -1,12 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2019/08/13 12:03:55 gdt Exp $
+# $NetBSD: Makefile,v 1.4 2019/08/13 16:44:27 gdt Exp $
 
-GITHUB_PROJECT=        esptool
-VERSION=       2.7
-NBVERSION=     nb1
-PKGNAME=       ${PYPKGPREFIX}-${GITHUB_PROJECT}-${VERSION}${NBVERSION}
-DISTNAME=      v${VERSION}
+DISTNAME=      esptool-2.7
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}nb2
 CATEGORIES=    comms
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=espressif/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=e/esptool/}
 DIST_SUBDIR=   ${GITHUB_PROJECT}
 
 MAINTAINER=    gdt%NetBSD.org@localhost
@@ -14,9 +11,6 @@
 COMMENT=       Firmware tool for ESP8266/ESP32
 LICENSE=       gnu-gpl-v2
 
-WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${VERSION}
-EGG_INFODIR=   ${GITHUB_PROJECT}-${VERSION}-py${PYVERSSUFFIX}.egg-info
-
 USE_LANGUAGES= # none
 
 DEPENDS+=      ${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial
diff -r 9523be22932b -r 2afdafac19a5 comms/py-esptool/distinfo
--- a/comms/py-esptool/distinfo Tue Aug 13 16:41:40 2019 +0000
+++ b/comms/py-esptool/distinfo Tue Aug 13 16:44:27 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/13 11:44:10 gdt Exp $
+$NetBSD: distinfo,v 1.2 2019/08/13 16:44:27 gdt Exp $
 
-SHA1 (esptool/v2.7.tar.gz) = ee0e93ce5042bfcd5ad0f79cb26e3b238b7a0123
-RMD160 (esptool/v2.7.tar.gz) = fa4d1bcd753f075c370d4d3c5c16ddcd9e0396e1
-SHA512 (esptool/v2.7.tar.gz) = 3a80c969b3716983ebff683b643acc0272497afd513d6bc60894874fe2ee6ee22f0f6930324a8f14f735a7e5ea10377d7311a2cf05faff46d06f05eaaf417e1c
-Size (esptool/v2.7.tar.gz) = 5396543 bytes
+SHA1 (esptool-2.7.tar.gz) = b51f204ca71572690967e72e4facf6bb8f1ed84d
+RMD160 (esptool-2.7.tar.gz) = cca1c283774211cc1a85f415966b87a785b6e774
+SHA512 (esptool-2.7.tar.gz) = 50f3315de4c5334c586cef14f1be1b2fa7086b89db64f7379ef29d9afa70d98117c98b318c567465dade298f9df9be4947a39133ade749dca7463347fa578db6
+Size (esptool-2.7.tar.gz) = 83472 bytes



Home | Main Index | Thread Index | Old Index