diff options
Diffstat (limited to 'dev/python/argparse')
-rw-r--r-- | dev/python/argparse/Manifest | 23 | ||||
-rw-r--r-- | dev/python/argparse/argparse.mkbuild | 190 |
2 files changed, 213 insertions, 0 deletions
diff --git a/dev/python/argparse/Manifest b/dev/python/argparse/Manifest new file mode 100644 index 0000000..039bfd2 --- /dev/null +++ b/dev/python/argparse/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST argparse-0.9.1.zip 114894 MD5 37675a2dd5822a2f5bd16f3fd4d8b4f1 RMD160 c9c03916aa6d87ff41998a8fe6446cbc94b9a321 SHA1 3f5ba68ac903e2c4f0af2b867a9c269a1218b615 SHA256 d560ebd2198643e787890ff19c923b7ca4950c9a927b95ab4eee32c6b9185c02 SHA512 552becb6643883f16583e714008f9d3d3ecaf69dc32e775464bb595e942455f75c698358b5a5e97afaff3baf717f1d5a1d43ea979db06cc3b6aa6fd6c7b56bff +MKBUILD argparse.mkbuild 5320 MD5 5cbff25ea2e719adab39ac283d80d47f RMD160 bf97d190919fde5f05e1cb6e5872413d4b0dad61 SHA1 0fcd37c13ac53f61b9c3fd5cbcc15ef4722e8427 SHA256 6e3bec92c9fa9b0693554708740b559127fd80720bf485832098e0b27ca22621 SHA512 4556aee8ee6904e2f10e2943e1d689403f7c21168c5d348a85cba5ee4bd03b03764a91716eca82b32f403551b7790493c697118686cd950bb20a6bfa11423f36 +SLACKBUILD argparse.SlackBuild 6955 MD5 93cb81b0b0a8f394c3f3699fb0362ff9 RMD160 b16637aeb30ee23b24e14821d852c9f85a39bb29 SHA1 a9ebe4c4944df754a9812713a675e87999e1d119 SHA256 305edec0930f73498cdbf5c6c53866b5b59ad3558ec6b11f0decd3d44cb44757 SHA512 85538ca9f78be3c49cc854af20ef37159402c2a846b076381542dbb06152723fee8f12bcdb1d63ded44007ee4da1421bf2d39c0792ef8586db03aa2b194543f3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBAgAGBQJJ+xVJAAoJEEHL93ESzgeiFykP/20AhIpkdGWEZlI0qvST2xJ8 +0t2M0FExfNj4ZF/LfmeNwu1aeZDpeeoWLlSSoj2I1fAkRSyWqlFTgwae2o5g7hhv +4xVPYIWAsO6jQeupqyxPbZ5Ce5JAsyev5G1aeJGMEwBIE+L1rMVc/msYRs6xmxtH +FA9usk+fB/WNVLRl4zTlDNeHk84jOJONKzWelvmcgUYMczJu4/wi0Z+WuEI1CHGc +KKOZGSKiQP1mIoJVasCbWkax98ljbNy2R11lyGeQFN9ImuakH8P1piyOiOH1mnnx +xHZrcBn5mIgDN7mqDtKnt5WSKJMvnD7Cqq/WaIiFmKIm0r5xz11CwArF1luA/csR +I8+NUNrQwCbyoO+5lvFXp0yvJTMteu3cj6FfDHfp0iWWE4KtLxxRr+5CYfXZ5ca/ +1VJfDQgRJwy/4A5hMGIbv9hneT5wSoN3AsqNqyhzCMSrgUt9L1reJuiRpKQZ50AN +xZ6lv9qUzu9jwcu24oBkCnCc5W62DtMwX2jA75VGXSTJgA33m0l20awjLVigVFSC +Ttz5+kyjLxgnieuoSfbM8FckxbS8FD1cX9gQA6S9berZjIK2pxW9XiKYgmjsBvGM +A7DMZonhSBmPe47fpZtknwty46bP9tWNbkEi+UWFqudGD++n7VUrVpx5R8gfjWU4 +/mY7Q/YVk70u5385yuZM +=eszu +-----END PGP SIGNATURE----- diff --git a/dev/python/argparse/argparse.mkbuild b/dev/python/argparse/argparse.mkbuild new file mode 100644 index 0000000..18a0638 --- /dev/null +++ b/dev/python/argparse/argparse.mkbuild @@ -0,0 +1,190 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://pypi.python.org/packages/source/a/argparse/argparse-0.9.1.zip" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="0.9.1" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="unzip" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="README.txt PKG-INFO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +#[[REST OF DOINST.SH]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="dev/python/argparse" +[[SLACKBUILD PATH]]="dev/python/argparse" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +argparse: argparse: An optparse-inspired command-line parsing library +argparse: +argparse: Argparse takes the best of the optparse command-line parsing +argparse: module and brings it new life. Argparse adds positional as well +argparse: as optional arguments, the ability to create parsers for +argparse: sub-commands, more informative help and usage messages, and +argparse: much more. At the same time, it retains the ease and flexibility +argparse: of use that made optparse so popular. +argparse: +argparse: +argparse: +#<slackdesc + +#>make_package +# Build and install package +python setup.py build install --root=$PKG || exit $ERROR_INSTALL +#<make_package |