blob: 6f4390e24cd454c32fd6cd94176a248c4f63aff6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Python library for displaying tabular data in a ASCII table format"
2HOMEPAGE = "http://code.google.com/p/prettytable"
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3e73500ffa52de5071cff65990055282"
5
6SRC_URI[md5sum] = "0c1361104caff8b09f220748f9d69899"
7SRC_URI[sha256sum] = "a53da3b43d7a5c229b5e3ca2892ef982c46b7923b51e98f0db49956531211c4f"
8
9SRCNAME = "prettytable"
10
11SRC_URI = "https://pypi.python.org/packages/source/P/PrettyTable/${SRCNAME}-${PV}.zip"
12
13S = "${WORKDIR}/${SRCNAME}-${PV}"
14
15inherit setuptools
16
17do_install_append() {
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018 perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"`
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019 for f in $perm_files; do
20 chmod 644 "${f}"
21 done
22}
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023
24UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/"
25UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)"