From 0af206624aa04158b4acfd3693bca57e427f5cdb Mon Sep 17 00:00:00 2001 From: brent s Date: Sun, 20 Nov 2016 17:11:02 -0500 Subject: [PATCH] adding python-validators, minor dir fix to new_package.py --- _bin/new_package.py | 1 + python-validators | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_bin/new_package.py b/_bin/new_package.py index 4946d63..482e5a0 100755 --- a/_bin/new_package.py +++ b/_bin/new_package.py @@ -75,6 +75,7 @@ def gui_init(): pkg['srcfile'] = re.sub('^\s*(https?|ftp).*/(.*)\s*$', '\\2', pkg['srcurl'], re.IGNORECASE) pkg['type'] = 'release' # And here's where we download the source file for hashing + os.makedirs(('{0}/.aur_pkgs'.format(gettempdir())), exist_ok = True) pkg['src_dl'] = "{0}/.aur_pkgs/{1}".format(gettempdir(), pkg['srcfile']) print("Please wait while we download {0} to {1}...\n".format(pkg['srcfile'], pkg['src_dl'])) datastream = urlopen(pkg['srcurl']) diff --git a/python-validators b/python-validators index 0d69e8d..c7da872 160000 --- a/python-validators +++ b/python-validators @@ -1 +1 @@ -Subproject commit 0d69e8dcb1d9b9422026234754651b6aafb2c0be +Subproject commit c7da872b92c3d01a69ab2938915867be896817e8