From 91a3280626f9ddda32e7c39b2692647913cf76d8 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 16 Dec 2019 15:29:07 +0300 Subject: [PATCH] Include pip requirements hashes --- doc/install.rst | 10 +++++++--- makedist.sh | 11 +++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/doc/install.rst b/doc/install.rst index d03034c..77294b3 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -4,7 +4,7 @@ Install Preferable way is to :ref:`download ` tarball with the signature from `official website `__:: - $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-|VERSION|.tar.xz + $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-5.4.tar.xz $ [fetch|wget] http://pyderasn.cypherpunks.ru/pyderasn-5.4.tar.xz.sig $ gpg --verify pyderasn-5.4.tar.xz.sig pyderasn-5.4.tar.xz $ xz --decompress --stdout pyderasn-5.4.tar.xz | tar xf - @@ -16,9 +16,13 @@ PyDERASN depends on `six `__ package for keeping compatibility with Py27/Py35. It is included in the tarball. You can also find it mirrored on :ref:`download ` page. -You could use PIP (**no** authentication is performed!):: +You could use pip (**no** OpenPGP authentication is performed!) with PyPI:: - $ pip install pyderasn + $ cat > requirements.txt <\`__ \`sign \`__ - \`\`$hash\`\` + +pyderasn==$release $pip_hash +$six_requirement EOF mv $tmp/$tarball $tmp/"$tarball".sig $cur/doc/download @@ -68,6 +74,11 @@ SHA256 hash: $hash GPG key: 2ED6 C846 3051 02DF 5B4E 0383 04A9 33D1 BA20 327A PyDERASN releases +pip'es requirements file: + + pyderasn==$release $pip_hash + $six_requirement + Please send questions regarding the use of PyDERASN, bug reports and patches to mailing list: https://lists.cypherpunks.ru/mailman/listinfo/pyderasn-devel EOF -- 2.44.0