python/python-unicodecsv: Renamed python2-unicodecsv.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-06 17:11:26 +01:00 committed by Willy Sudiarto Raharjo
parent d50f427d4e
commit 6ef5e3566b
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
5 changed files with 23 additions and 23 deletions

View File

@ -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-unicodecsv: python-unicodecsv (csv module)
python-unicodecsv:
python-unicodecsv: Python2's stdlib csv module is nice, but it doesn't support unicode.
python-unicodecsv: This module is a drop-in replacement which *does*.
python-unicodecsv:
python-unicodecsv: Homepage: https://github.com/jdunck/python-unicodecsv
python-unicodecsv:
python-unicodecsv:
python-unicodecsv:
python-unicodecsv:
python-unicodecsv:

View File

@ -22,8 +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-unicodecsv
SRCNAM=$(echo $PRGNAM | cut -c8-17)
PRGNAM=python2-unicodecsv
SRCNAM=$( echo $PRGNAM | cut -d- -f2 )
VERSION=${VERSION:-0.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -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

View File

@ -1,4 +1,4 @@
PRGNAM="python-unicodecsv"
PRGNAM="python2-unicodecsv"
VERSION="0.14.1"
HOMEPAGE="https://github.com/jdunck/python-unicodecsv"
DOWNLOAD="https://pypi.python.org/packages/source/u/unicodecsv/unicodecsv-0.14.1.tar.gz"

View 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-unicodecsv: python2-unicodecsv (csv module)
python2-unicodecsv:
python2-unicodecsv: Python2's stdlib csv module is nice, but it doesn't support unicode.
python2-unicodecsv: This module is a drop-in replacement which *does*.
python2-unicodecsv:
python2-unicodecsv: Homepage: https://github.com/jdunck/python2-unicodecsv
python2-unicodecsv:
python2-unicodecsv:
python2-unicodecsv:
python2-unicodecsv:
python2-unicodecsv: