summaryrefslogtreecommitdiffstats
path: root/python/cryptography
diff options
context:
space:
mode:
Diffstat (limited to 'python/cryptography')
-rw-r--r--python/cryptography/cryptography.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/cryptography/cryptography.SlackBuild b/python/cryptography/cryptography.SlackBuild
index 19eddb1eab..49127919a9 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