devel/py-black: Really fix packaging issues
* When the port was updated viadea032cba8
, it still wouldn't build, which was then fixed with25b2be6023
. Although the port can now be built, the content of the generated package is not correct at the moment as every Python module is placed into an additional "src/" directory. There was an attempt to fix the problem via76670f6a4f
, but the root cause has not yet been eliminated because the Python module is still not usable: $ python3.9 -m black /usr/local/bin/python3.9: No module named black * Remedy these issues by adjusting the backported "setup.py" to generate the correct package content. * Bump PORTREVISION due package change. PR: 267040 [1] Reported by: Martin Birgmeier [1] pkg-fallout (for games/anki which requires py-black) Approved by: portmgr (blanket, fix packaging issues) Fixes:25b2be6023
devel/py-black: fix build
This commit is contained in:
parent
cd45ea398f
commit
bfff400638
2 changed files with 3 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= black
|
||||
PORTVERSION= 22.10.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
@ -53,11 +53,6 @@ setup(
|
|||
'blackd = blackd:patched_main [d]',
|
||||
],
|
||||
},
|
||||
packages=[
|
||||
'scripts',
|
||||
'src.black',
|
||||
'src.blackd',
|
||||
'src.blib2to3',
|
||||
'src.blib2to3.pgen2',
|
||||
],
|
||||
package_dir={'': 'src'},
|
||||
package_data={'': ['*']},
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue