pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: py-httpie: Improve distinfo



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f02938d8419d
branches:  trunk
changeset: 306558:f02938d8419d
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Apr 18 19:54:20 2018 +0000
description:
py-httpie: Improve distinfo

Reuse the GitHub framework and stop using plain ${PKGVERSION_NOREV}.zip for
distfile name.

No functional change intended.

diffstat:

 www/py-httpie/Makefile |  10 ++++------
 www/py-httpie/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 11 deletions(-)

diffs (41 lines):

diff -r 34d803c8cfd5 -r f02938d8419d www/py-httpie/Makefile
--- a/www/py-httpie/Makefile    Wed Apr 18 19:47:20 2018 +0000
+++ b/www/py-httpie/Makefile    Wed Apr 18 19:54:20 2018 +0000
@@ -1,18 +1,16 @@
-# $NetBSD: Makefile,v 1.3 2015/03/09 16:52:45 imil Exp $
+# $NetBSD: Makefile,v 1.4 2018/04/18 19:54:20 kamil Exp $
 
-DISTNAME=      0.9.2
-EGG_NAME=      httpie-${DISTNAME}
+GITHUB_PROJECT=        httpie
+DISTNAME=      httpie-0.9.2
 PKGNAME=       ${PYPKGPREFIX}-${EGG_NAME}
 CATEGORIES=    www
-MASTER_SITES=  https://github.com/jakubroztocil/httpie/archive/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jakubroztocil/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/jakubroztocil/httpie
 COMMENT=       Human-friendly command line HTTP client
 LICENSE=       original-bsd
 
-WRKSRC=                ${WRKDIR}/httpie-${DISTNAME}
-
 USE_LANGUAGES= # none
 
 DEPENDS+=      ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments
diff -r 34d803c8cfd5 -r f02938d8419d www/py-httpie/distinfo
--- a/www/py-httpie/distinfo    Wed Apr 18 19:47:20 2018 +0000
+++ b/www/py-httpie/distinfo    Wed Apr 18 19:54:20 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 02:47:29 agc Exp $
+$NetBSD: distinfo,v 1.5 2018/04/18 19:54:20 kamil Exp $
 
-SHA1 (0.9.2.tar.gz) = 39e9aab7f6f27973098c22c81fe5b9e7a5866a8b
-RMD160 (0.9.2.tar.gz) = d30e4cdf4af8efec82dbec278025f4c48c4e2f44
-SHA512 (0.9.2.tar.gz) = 94c7f28b66f133eda055796414aff8a4be5a5baa083e84def254622b47bb0bafd11e3cb5569d6383d6112e13a4fdfe977d604973240e705e04a82dbcbee89f58
-Size (0.9.2.tar.gz) = 254872 bytes
+SHA1 (httpie-0.9.2.tar.gz) = 39e9aab7f6f27973098c22c81fe5b9e7a5866a8b
+RMD160 (httpie-0.9.2.tar.gz) = d30e4cdf4af8efec82dbec278025f4c48c4e2f44
+SHA512 (httpie-0.9.2.tar.gz) = 94c7f28b66f133eda055796414aff8a4be5a5baa083e84def254622b47bb0bafd11e3cb5569d6383d6112e13a4fdfe977d604973240e705e04a82dbcbee89f58
+Size (httpie-0.9.2.tar.gz) = 254872 bytes



Home | Main Index | Thread Index | Old Index