diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-14 21:34:47 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 18:40:04 +0700 |
commit | 9ee78a09f8821eb25e80efa76bb0e25d7fc67666 (patch) | |
tree | 5f04db0ee014ae6f8882cc1d7f11c09cd24d1775 | |
parent | bfc0b9d82af0579833b431ee8d40f5aee41ee8b3 (diff) |
python/python-xcffib: Renamed python2-xcffib.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python-xcffib/slack-desc | 19 | ||||
-rw-r--r-- | python/python2-xcffib/README (renamed from python/python-xcffib/README) | 0 | ||||
-rw-r--r-- | python/python2-xcffib/python2-xcffib.SlackBuild (renamed from python/python-xcffib/python-xcffib.SlackBuild) | 8 | ||||
-rw-r--r-- | python/python2-xcffib/python2-xcffib.info (renamed from python/python-xcffib/python-xcffib.info) | 2 | ||||
-rw-r--r-- | python/python2-xcffib/slack-desc | 19 |
5 files changed, 24 insertions, 24 deletions
diff --git a/python/python-xcffib/slack-desc b/python/python-xcffib/slack-desc deleted file mode 100644 index 937b37a39e19..000000000000 --- a/python/python-xcffib/slack-desc +++ /dev/null @@ -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-xcffib: python-xcffib (XCB python binding) -python-xcffib: -python-xcffib: xcffib is intended to be a (mostly) drop-in replacement for xpyb. -python-xcffib: xpyb has an inactive upstream, several memory leaks, is python2 only -python-xcffib: and doesn't have pypy support. xcffib is a binding which uses cffi, -python-xcffib: which mitigates some of the issues described above. xcffib also -python-xcffib: builds bindings for 27 of the 29 (xprint and xkb are missing) -python-xcffib: X extensions in 1.10. -python-xcffib: -python-xcffib: Homepage: https://github.com/tych0/xcffib -python-xcffib: diff --git a/python/python-xcffib/README b/python/python2-xcffib/README index 8b12921e1a1a..8b12921e1a1a 100644 --- a/python/python-xcffib/README +++ b/python/python2-xcffib/README diff --git a/python/python-xcffib/python-xcffib.SlackBuild b/python/python2-xcffib/python2-xcffib.SlackBuild index 22757f020558..c92b3dc10d5d 100644 --- a/python/python-xcffib/python-xcffib.SlackBuild +++ b/python/python2-xcffib/python2-xcffib.SlackBuild @@ -22,10 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-xcffib -SRCNAM=$(echo $PRGNAM | cut -c8-13) +PRGNAM=python2-xcffib +SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) VERSION=${VERSION:-0.8.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,7 +70,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 -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python-xcffib/python-xcffib.info b/python/python2-xcffib/python2-xcffib.info index 288934c92612..d853b392bff4 100644 --- a/python/python-xcffib/python-xcffib.info +++ b/python/python2-xcffib/python2-xcffib.info @@ -1,4 +1,4 @@ -PRGNAM="python-xcffib" +PRGNAM="python2-xcffib" VERSION="0.8.1" HOMEPAGE="https://github.com/tych0/xcffib" DOWNLOAD="https://files.pythonhosted.org/packages/16/d2/8658ed194e8b482af8d9ad2c5ddd126f1fb3553659f45be495ded371f3b6/xcffib-0.8.1.tar.gz" diff --git a/python/python2-xcffib/slack-desc b/python/python2-xcffib/slack-desc new file mode 100644 index 000000000000..a5c13ce4b3ad --- /dev/null +++ b/python/python2-xcffib/slack-desc @@ -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-xcffib: python2-xcffib (XCB python binding) +python2-xcffib: +python2-xcffib: xcffib is intended to be a (mostly) drop-in replacement for xpyb. +python2-xcffib: xpyb has an inactive upstream, several memory leaks, is python2 only +python2-xcffib: and doesn't have pypy support. xcffib is a binding which uses cffi, +python2-xcffib: which mitigates some of the issues described above. xcffib also +python2-xcffib: builds bindings for 27 of the 29 (xprint and xkb are missing) +python2-xcffib: X extensions in 1.10. +python2-xcffib: +python2-xcffib: Homepage: https://github.com/tych0/xcffib +python2-xcffib: |