Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556356 - dev-python/pylama-6.3.4 new ebuild
Summary: dev-python/pylama-6.3.4 new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 556358 556360
Blocks: 608456
  Show dependency tree
 
Reported: 2015-07-30 21:54 UTC by Rustam Karimov
Modified: 2020-10-07 20:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pylama-6.3.4.ebuild (file_556356.txt,1.07 KB, text/plain)
2015-07-30 21:56 UTC, Rustam Karimov
Details
dev-python/pylama-7.3.3.ebuild (pylama-7.3.3.ebuild,889 bytes, text/plain)
2017-02-06 16:27 UTC, Kristian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rustam Karimov 2015-07-30 21:54:59 UTC
Code audit tool for python and JavaScript.
Homepage: http://pypi.python.org/pypi/pylama

Reproducible: Always
Comment 1 Rustam Karimov 2015-07-30 21:56:59 UTC
Created attachment 408022 [details]
pylama-6.3.4.ebuild
Comment 2 Rustam Karimov 2015-07-30 22:21:18 UTC
Comment on attachment 408022 [details]
pylama-6.3.4.ebuild

>  # Copyright 1999-2014 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
>  # $Header: $
>  
>  EAPI=5
>  PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
>  
>  inherit distutils-r1
>  
>  DESCRIPTION="Code audit tool for python and JavaScript. Pylama wraps these tools: pep8,   pep257, pyflakes, mccabe, pylint, gjlint"
>  HOMEPAGE="http://pypi.python.org/pypi/pylama"
>  SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
>  
>  LICENSE="BSD"
>  SLOT="0"
>  KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
>  IUSE="pep8 pep257 pyflakes mccabe pylint"
>  
>  DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>          pep8? ( dev-python/pep8[${PYTHON_USEDEP}] )
>          pep257? ( dev-python/pep257[${PYTHON_USEDEP}] )
>          pyflakes? ( dev-python/pyflakes[${PYTHON_USEDEP}] )
>          pylint? ( dev-python/pylint[${PYTHON_USEDEP}] )
>          mccabe? ( dev-python/mccabe[${PYTHON_USEDEP}] )
>          "
>  RDEPEND="${DEPEND}"
>  
>  python_install_all() {
>      distutils-r1_python_install_all
}
Comment 3 Rustam Karimov 2015-07-30 22:21:19 UTC
Comment on attachment 408022 [details]
pylama-6.3.4.ebuild

>  # Copyright 1999-2014 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
>  # $Header: $
>  
>  EAPI=5
>  PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
>  
>  inherit distutils-r1
>  
>  DESCRIPTION="Code audit tool for python and JavaScript. Pylama wraps these tools: pep8,   pep257, pyflakes, mccabe, pylint, gjlint"
>  HOMEPAGE="http://pypi.python.org/pypi/pylama"
>  SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
>  
>  LICENSE="BSD"
>  SLOT="0"
>  KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
>  IUSE="pep8 pep257 pyflakes mccabe pylint"
>  
>  DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>          pep8? ( dev-python/pep8[${PYTHON_USEDEP}] )
>          pep257? ( dev-python/pep257[${PYTHON_USEDEP}] )
>          pyflakes? ( dev-python/pyflakes[${PYTHON_USEDEP}] )
>          pylint? ( dev-python/pylint[${PYTHON_USEDEP}] )
>          mccabe? ( dev-python/mccabe[${PYTHON_USEDEP}] )
>          "
>  RDEPEND="${DEPEND}"
>  
>  python_install_all() {
>      distutils-r1_python_install_all
}
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2015-08-21 07:40:01 UTC
If you wish to proxy maintain it I shall guide you to a fit ebuild. The current one needs some corrections. If you use irc goto gentoo-proxy-maint.

For now;  DESCRIPTION line should be <= 80 chars.
KEYWORDS= looks like it is copy pasted form some other ebuild.
RDEPEND="${DEPEND}" is generally redundant
python_install_all() {
      distutils-r1_python_install_all
} is definitely redundant.
The plethora of IUSE flags appears more than required but I've not opened up the source yet.
Comment 5 Kristian 2017-02-06 16:27:46 UTC
Created attachment 462648 [details]
dev-python/pylama-7.3.3.ebuild

updated ebuild. I did not test the use flags yet. pep257 is a dependency to pydocstyle, which was renamed from pep257 (#556358).
Comment 6 Louis Sautier (sbraz) gentoo-dev 2020-10-07 20:43:15 UTC
This was added two years ago :)

commit eded67aa44f6297b1ef828b18b186d6f38990b88
Author: Zac Medico <zmedico@gentoo.org>
Date:   Sat Oct 13 14:56:39 2018 -0700

    dev-python/pylama: new package
    
    Signed-off-by: Zac Medico <zmedico@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11