Browse Source

Fix documentation directory for Python packages.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
46a1a6f082
  1. 4
      l/python-alabaster/python-alabaster.SlackBuild
  2. 4
      l/python-babel/python-babel.SlackBuild
  3. 4
      l/python-cffi/python-cffi.SlackBuild
  4. 4
      l/python-imagesize/python-imagesize.SlackBuild

4
l/python-alabaster/python-alabaster.SlackBuild

@ -73,8 +73,8 @@ python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 LICENSE README.rst $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

4
l/python-babel/python-babel.SlackBuild

@ -74,8 +74,8 @@ python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS CHANGES LICENSE README $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS CHANGES LICENSE README $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

4
l/python-cffi/python-cffi.SlackBuild

@ -88,8 +88,8 @@ python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS LICENSE PKG-INFO $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS LICENSE PKG-INFO $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

4
l/python-imagesize/python-imagesize.SlackBuild

@ -74,8 +74,8 @@ python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 README.rst $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save