updated package builds for debian, arch, gentoo; updated readme a little
This commit is contained in:
@@ -22,7 +22,7 @@ Features
|
||||
|
||||
Currently, PGPy can load keys and signatures of all kinds in both ASCII armored and binary formats.
|
||||
|
||||
It can create and verify RSA and DSA signatures, at the moment.
|
||||
It can create and verify RSA, DSA, and ECDSA signatures, at the moment. It can also encrypt and decrypt messages using RSA and ECDH.
|
||||
|
||||
Installation
|
||||
------------
|
||||
@@ -59,4 +59,3 @@ License
|
||||
-------
|
||||
|
||||
BSD 3-Clause licensed. See the bundled `LICENSE <https://github.com/SecurityInnovation/PGPy/blob/master/LICENSE>`_ file for more details.
|
||||
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
|
||||
pkgbase=python-pgpy
|
||||
pkgname=('python-pgpy' 'python2-pgpy')
|
||||
pkgver=0.3.0
|
||||
pkgrel=3
|
||||
pkgver=0.4.0
|
||||
pkgrel=1
|
||||
pkgdesc="Pretty Good Privacy for Python - a pure Python OpenPGP implementation."
|
||||
arch=('any')
|
||||
license=('BSD')
|
||||
url="https://github.com/SecurityInnovation/PGPy"
|
||||
makedepends=('python-setuptools' 'python-cryptography' 'python-singledispatch' 'python-six'
|
||||
'python2-setuptools' 'python2-cryptography' 'python2-enum34' 'python2-singledispatch' 'python2-six')
|
||||
makedepends=('python-setuptools' 'python-cryptography' 'python-six' 'python-pyasn1'
|
||||
'python2-setuptools' 'python2-cryptography' 'python2-enum34' 'python2-singledispatch' 'python2-six' 'python2-pyasn1')
|
||||
source=("https://pypi.python.org/packages/source/P/PGPy/PGPy-${pkgver}.tar.gz")
|
||||
sha256sums=('8ff7df1765b1977505c8dd1a77c4755fe849f792653307fc77f5171d30cd55cd')
|
||||
sha384sums=('56e66e067cb643423fe2bffa2c7a3d825e34b2b2b76ca43f0549792d7bcca1b9bcf3b9d797e0435d0576a3ebe4653640')
|
||||
sha512sums=('d5f8b67c22e75c739200022ddbe0ecbbfe1784ca19fa8e8db09f6d72a96c5c1fbbb0e4b101a7cb2694d25d304126ab12848cd752507526ff313b78ab28b95178')
|
||||
sha256sums=('0025d65f2db2886868ac5af68a85322d255ed52211756c6141c9d46264091da2')
|
||||
sha384sums=('4ea26e952e6004778661072dbe4644351716b53122f4e96b8d2c44e57c31e23dc5e62e74f5700f628db2c163e01317c8')
|
||||
sha512sums=('527625a143e6fc221f7f5d84455546b9687287059c1b28f4e16db46f80a2227e69f0781b95752797c212d3ff788979622331285a55f32bd3bbe4f108328ae2ed')
|
||||
|
||||
prepare() {
|
||||
cp -a PGPy-${pkgver}{,-python2}
|
||||
@@ -32,7 +32,7 @@ build() {
|
||||
}
|
||||
|
||||
package_python-pgpy() {
|
||||
depends=('python-cryptography>=0.5.2' 'python-singledispatch' 'python-six>=1.7.2')
|
||||
depends=('python-cryptography>=1.1.0' 'python-six>=1.9.0' 'python-pyasn1')
|
||||
|
||||
cd PGPy-${pkgver}
|
||||
python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
@@ -40,7 +40,7 @@ package_python-pgpy() {
|
||||
}
|
||||
|
||||
package_python2-pgpy() {
|
||||
depends=('python2-cryptography>=0.5.2' 'python2-six>=1.7.2' 'python2-enum34' 'python-singledispatch')
|
||||
depends=('python2-cryptography>=1.1.0' 'python2-six>=1.9.0' 'python2-enum34' 'python2-singledispatch' 'python2-pyasn1')
|
||||
|
||||
cd PGPy-${pkgver}-python2
|
||||
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
|
||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
pgpy (0.4.0-1) unstable; urgency=low
|
||||
|
||||
* Updated to latest release
|
||||
|
||||
-- Michael <mgreene@securityinnovation.com> Thu, 21 Apr 2016 21:15:38 -0700
|
||||
|
||||
pgpy (0.3.0-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #62)
|
||||
|
||||
6
debian/control
vendored
6
debian/control
vendored
@@ -2,10 +2,12 @@ Source: pgpy
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Michael Greene <mgreene@securityinnovation.com>
|
||||
Build-Depends: debhelper (>= 8.0.0), cdbs, python-all-dev (>= 2.7), python3-all-dev (>= 3.2), python-setuptools, python3-setuptools
|
||||
Build-Depends: debhelper (>= 8.0.0), cdbs,
|
||||
python3-all-dev (>= 3.2), python3-setuptools,
|
||||
python-all-dev (>= 2.7), python-setuptools
|
||||
Standards-Version: 3.9.2
|
||||
X-Python-Version: >= 2.7
|
||||
X-Python3-Version: >= 3.2
|
||||
X-Python3-Version: >= 3.3
|
||||
Vcs-Git: https://github.com/SecurityInnovation/PGPy.git
|
||||
Vcs-Browser: https://github.com/SecurityInnovation/PGPy
|
||||
|
||||
|
||||
12
debian/copyright
vendored
12
debian/copyright
vendored
@@ -3,24 +3,24 @@ Upstream-Name: PGPy
|
||||
Source: https://github.com/SecurityInnovation/PGPy
|
||||
|
||||
Files: *
|
||||
Copyright: 2014 Michael Greene
|
||||
Copyright: 2014-2016 Michael Greene, 2014-2016 Security Innovation, Inc
|
||||
License: BSD 3-Clause
|
||||
All rights reserved.
|
||||
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
|
||||
* Neither the name of the {organization} nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
|
||||
5
debian/python-pgpy.pydist
vendored
5
debian/python-pgpy.pydist
vendored
@@ -1,4 +1,5 @@
|
||||
enum34 python-enum34
|
||||
singledispatch python-singledispatch
|
||||
six python-six (>= 1.7.2)
|
||||
cryptography python-cryptography (>= 0.5.2), python-cryptography (<= 0.6.0)
|
||||
six python-six (>= 1.9.0)
|
||||
cryptography python-cryptography (>= 1.1.0)
|
||||
pyasn1 python-pyasn1
|
||||
|
||||
5
debian/python3-pgpy.pydist
vendored
5
debian/python3-pgpy.pydist
vendored
@@ -1,4 +1,5 @@
|
||||
enum34 -3.4 python3-enum34
|
||||
singledispatch python3-singledispatch
|
||||
six python3-six (>= 1.7.2)
|
||||
cryptography python3-cryptography (>= 0.5.2), python3-cryptography (<= 0.6.0)
|
||||
six python3-six (>= 1.9.0)
|
||||
cryptography python3-cryptography (>= 1.1.0)
|
||||
pyasn1 python3-pyasn1
|
||||
|
||||
34
gentoo/pgpy-0.4.0.ebuild
Normal file
34
gentoo/pgpy-0.4.0.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2014 Michael Greene
|
||||
# Distributed under the terms of the BSD 3-Clause License
|
||||
# $HEADER: $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pretty Good Privacy for Python - a pure Python OpenPGP implementation."
|
||||
HOMEPAGE="https://github.com/SecurityInnovation/PGPy"
|
||||
SRC_URI="mirror://pypi/P/PGPy/PGPy-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/singledispatch[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3)"
|
||||
DOCS=( README.rst )
|
||||
|
||||
src_unpack() {
|
||||
if [ "${A}" != "" ]; then
|
||||
unpack ${A}
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"
|
||||
mv PGPy-${PV} pgpy-${PV}
|
||||
}
|
||||
Reference in New Issue
Block a user