diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-08 17:31:41 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-09 15:45:12 +0700 |
commit | 56b120ae4afe8caf6f8f66dd32444e9db9ff09a9 (patch) | |
tree | 9b0875d93464b433d7b561dcdb8909d5c08dfef5 /python/cryptography | |
parent | 71f8aa23cf7b9f12fd17ab2075b72d2d5aae200a (diff) |
python/cryptography: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/cryptography')
-rw-r--r-- | python/cryptography/cryptography.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild index 19eddb1eab3b3..49127919a9ba7 100644 --- a/python/cryptography/cryptography.SlackBuild +++ b/python/cryptography/cryptography.SlackBuild @@ -22,13 +22,15 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# + +# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2: +# - remove empty file from doc dir. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cryptography VERSION=${VERSION:-35.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -139,6 +141,7 @@ python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +rm -rf docs/_static/ # 20220408 bkw: empty dir mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -ar LICENSE* *.rst docs/ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |