mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python-gammu: Renamed python2-gammu.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c0d53ab590
commit
92b1a35a1a
5 changed files with 26 additions and 25 deletions
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
python-gammu: python-gammu (Python bindings for gammu)
|
||||
python-gammu:
|
||||
python-gammu: Python bindings which allow you to use (most) of Gammu's functionality
|
||||
python-gammu: from Python language.
|
||||
python-gammu:
|
||||
python-gammu: Homepage: https://wammu.eu/python-gammu/
|
||||
python-gammu:
|
||||
python-gammu:
|
||||
python-gammu:
|
||||
python-gammu:
|
||||
python-gammu:
|
|
@ -22,7 +22,8 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=python-gammu
|
||||
PRGNAM=python2-gammu
|
||||
SRCNAM=python-gammu
|
||||
VERSION=${VERSION:-2.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -45,9 +46,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -55,7 +56,7 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
python2 setup.py install --root=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
|
@ -1,4 +1,4 @@
|
|||
PRGNAM="python-gammu"
|
||||
PRGNAM="python2-gammu"
|
||||
VERSION="2.7"
|
||||
HOMEPAGE="https://wammu.eu/python-gammu/"
|
||||
DOWNLOAD="https://dl.cihar.com/python-gammu/python-gammu-2.7.tar.bz2"
|
19
python/python2-gammu/slack-desc
Normal file
19
python/python2-gammu/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
python2-gammu: python2-gammu (Python bindings for gammu)
|
||||
python2-gammu:
|
||||
python2-gammu: Python bindings which allow you to use (most) of Gammu's functionality
|
||||
python2-gammu: from Python language.
|
||||
python2-gammu:
|
||||
python2-gammu: Homepage: https://wammu.eu/python-gammu/
|
||||
python2-gammu:
|
||||
python2-gammu:
|
||||
python2-gammu:
|
||||
python2-gammu:
|
||||
python2-gammu:
|
Loading…
Reference in a new issue