Skip to content

Commit

Permalink
Merge branch 'release/0.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Commod0re committed Apr 13, 2017
2 parents 621bb65 + 5c9eecb commit d80ec77
Show file tree
Hide file tree
Showing 67 changed files with 2,255 additions and 1,856 deletions.
28 changes: 22 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
os:
- linux
- osx
language: python
python:
- "3.6"
- "3.5"
- "3.4"
- "3.3"
Expand All @@ -9,38 +13,50 @@ python:
matrix:
include:
# add a pep8 test
- python: 3.5
- python: 3.6
env: TOXENV=pep8

# test setup.py using each tested version
- python: 3.6
env: TOXENV=setup36

- python: 3.5
env: TOXENV=setup35

- python: 3.4
env: TOXENV=setup34

- python: 3.3
env: TOXENV=setup33

- python: 2.7
env: TOXENV=setup27

allow_failures:
# pep8 failures shouldn't be considered fatal
- env: TOXENV=pep8
# pypy and pypy3 tests are just for fun
- python: "pypy"
- python: "pypy3"
# osx, until it's working
- os: osx

# install requirements
install:
# make sure libffi-dev, gnupg2, and pgpdump are installed
- sudo apt-get update
- sudo apt-get install -y libffi-dev gnupg2 pgpdump
- ./install_dependencies.${TRAVIS_OS_NAME}.sh
# ensure tox and coveralls are installed
- pip install tox python-coveralls

# set TOXENV if it isn't yet
before_script:
- if [[ -z "$TOXENV" ]]; then export TOXENV=py${TRAVIS_PYTHON_VERSION//.}; fi
- if [[ "$TRAVIS_PYTHON_VERSION" == 'pypy' ]]; then export TOXENV=pypy; fi
- if [[ "$TRAVIS_PYTHON_VERSION" == 'pypy3' ]]; then export TOXENV=pypy3; fi
- if [[ "${TRAVIS_PYTHON_VERSION}" == 'pypy' ]]; then export TOXENV=pypy; fi
- if [[ "${TRAVIS_PYTHON_VERSION}" == 'pypy3' ]]; then export TOXENV=pypy3; fi

# run tox
script:
- ./tox.sh

# and report coverage to coveralls, but only if this was a pytest run
after_success:
- if [[ "${TOXENV}" == "py"* ]]; then coveralls; fi
10 changes: 9 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ Documentation

`PGPy Documentation <https://pythonhosted.org/PGPy/>`_

Discussion
----------

Please report any bugs found on the `issue tracker <https://github.com/SecurityInnovation/PGPy/issues>`_

You can also join ``#pgpy`` on Freenode to ask questions or get involved

Requirements
------------

- Python 3 >= 3.3; Python 2 >= 2.7

Tested with: 3.5, 3.4, 3.3, 2.7
Tested with: 3.6, 3.5, 3.4, 3.3, 2.7

- `Cryptography <https://pypi.python.org/pypi/cryptography>`_

Expand All @@ -59,3 +66,4 @@ License
-------

BSD 3-Clause licensed. See the bundled `LICENSE <https://github.com/SecurityInnovation/PGPy/blob/master/LICENSE>`_ file for more details.

48 changes: 0 additions & 48 deletions arch/PKGBUILD

This file was deleted.

11 changes: 0 additions & 11 deletions debian/changelog

This file was deleted.

1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

35 changes: 0 additions & 35 deletions debian/control

This file was deleted.

33 changes: 0 additions & 33 deletions debian/copyright

This file was deleted.

1 change: 0 additions & 1 deletion debian/docs

This file was deleted.

3 changes: 0 additions & 3 deletions debian/python-pgpy-doc.docs

This file was deleted.

1 change: 0 additions & 1 deletion debian/python-pgpy.install

This file was deleted.

5 changes: 0 additions & 5 deletions debian/python-pgpy.pydist

This file was deleted.

1 change: 0 additions & 1 deletion debian/python3-pgpy.install

This file was deleted.

5 changes: 0 additions & 5 deletions debian/python3-pgpy.pydist

This file was deleted.

8 changes: 0 additions & 8 deletions debian/rules

This file was deleted.

1 change: 0 additions & 1 deletion debian/source/format

This file was deleted.

11 changes: 0 additions & 11 deletions docs/source/api/classes.rst → docs/source/api/classes.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ Classes
.. autoclass:: PGPKey
:members:
:noindex:
.. py:attribute:: ascii_header
:noindex:
:annotation: = OrderedDict([('Version', 'PGPy v|version|')])
An :py:obj:`~collections.OrderedDict` of headers that appear, in order, in the ASCII-armored form of this object.
.. py:classmethod:: from_file(filename)
:noindex:
Create a new :py:obj:`PGPKey` object, with contents loaded from a file. May be binary or ASCII armored.
Expand All @@ -32,7 +29,6 @@ Classes
# others: { (Fingerprint, bool(key.is_public): PGPKey }
.. py:classmethod:: from_blob(blob)
:noindex:
Create a new :py:obj:`PGPKey` object, with contents loaded from a blob. May be binary or ASCII armored.
Expand All @@ -55,7 +51,6 @@ Classes
:members:
.. py:attribute:: ascii_header
:noindex:
An :py:obj:`~collections.OrderedDict` of headers that appear, in order, in the ASCII-armored form of this object.
Expand All @@ -67,12 +62,10 @@ Classes
:members:
.. py:attribute:: ascii_header
:noindex:
An :py:obj:`~collections.OrderedDict` of headers that appear, in order, in the ASCII-armored form of this object.
.. py:classmethod:: from_file(filename)
:noindex:
Create a new :py:obj:`PGPMessage` object, with contents loaded from a file. May be binary or ASCII armored.
Expand All @@ -83,7 +76,6 @@ Classes
:returns: :py:obj:`PGPMessage`
.. py:classmethod:: from_blob(blob)
:noindex:
Create a new :py:obj:`PGPMessage` object, with contents loaded from a blob. May be binary or ASCII armored.
Expand All @@ -102,12 +94,10 @@ Classes
:members:
.. py:attribute:: ascii_header
:noindex:
An :py:obj:`~collections.OrderedDict` of headers that appear, in order, in the ASCII-armored form of this object.
.. py:classmethod:: from_file(filename)
:noindex:
Create a new :py:obj:`PGPSignature` object, with contents loaded from a file. May be binary or ASCII armored.
Expand All @@ -118,7 +108,6 @@ Classes
:returns: :py:obj:`PGPSignature`
.. py:classmethod:: from_blob(blob)
:noindex:
Create a new :py:obj:`PGPSignature` object, with contents loaded from a blob. May be binary or ASCII armored.
Expand Down
Loading

0 comments on commit d80ec77

Please sign in to comment.