URI: 
       tsupport portable gnupg directories - amprolla - devuan's apt repo merger
  HTML git clone git://parazyd.org/amprolla.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit f03f8f3c555d62654a59f985f04461f8695255f4
   DIR parent d9c027b97c6ae42fd0df4fc206a1c711c8bd3790
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Thu, 29 Jun 2017 11:53:07 +0200
       
       support portable gnupg directories
       
       Diffstat:
         M lib/config.def.py                   |       1 +
         M lib/release.py                      |       5 +++--
       
       2 files changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/config.def.py b/lib/config.def.py
       t@@ -9,6 +9,7 @@ from hashlib import md5, sha1, sha256
        cpunm = 4  # number of cpus you want to use for multiprocessing
        logdir = './log'
        spooldir = './spool'
       +gpgdir= './gnupg'
        signingkey = 'CA608125'
        mergedir = './merged-volatile'
        mergesubdir = 'dists'
   DIR diff --git a/lib/release.py b/lib/release.py
       t@@ -8,7 +8,8 @@ from datetime import datetime, timedelta
        from os.path import getsize, isfile
        import gnupg
        
       -from lib.config import checksums, release_aliases, release_keys, signingkey
       +from lib.config import (checksums, gpgdir, release_aliases, release_keys,
       +                        signingkey)
        from lib.parse import parse_release_head
        
        
       t@@ -64,7 +65,7 @@ def sign_release(infile):
            """
            Signs both the clearsign and the detached signature of a Release file
            """
       -    gpg = gnupg.GPG()
       +    gpg = gnupg.GPG(gnupghome=gpgdir)
        
            stream = open(infile, 'rb')