tech-pkg archive

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

Re: heads up: please use USE_GITHUB=yes when packaging software hosted on GH

Hello Makoto!

Makoto Fujiwara writes:
> [...]
> By the way, When I was trying to convert
>   textproc/py-uritemplate
> I'm a little bit confused. 
> Attached change will fetch following URL and fails
> uri-template-py-0.6.tar.gz
Unfortunately this package has a name that makes some confusion!... :) 
If we try to inspect the URL we can see (prehistoric ASCII art is
mandatory for that reason! :)):

The attached patches should do the trick (based on your original patches).

Index: Makefile
RCS file: /cvsroot/pkgsrc/textproc/py-uritemplate/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	24 Nov 2014 14:06:12 -0000	1.1
+++ Makefile	11 May 2015 22:28:09 -0000
@@ -3,7 +3,9 @@
 DISTNAME=	uri-template-py-0.6
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/-template-py/template/}
 CATEGORIES=	textproc www python
+GITHUB_PROJECT=	uritemplate-py
@@ -11,7 +13,6 @@
 LICENSE=	apache-2.0
-WRKSRC=		${WRKDIR}/uritemplate-py-${DISTNAME}
 .include "../../lang/python/"
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index