mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
devel/py-yappi: upgrade to 0.92
- Upgrade to 0.92 - Upstream doesn't use ez_setup.py anymore; cleanup Makefile and deprecate files/ Approved by: swills (mentor)
This commit is contained in:
parent
7d225382e5
commit
a3c53eeaa8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360219
3 changed files with 4 additions and 32 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= yappi
|
||||
PORTVERSION= 0.82
|
||||
PORTVERSION= 0.92
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -19,12 +19,8 @@ USE_PYTHON= yes
|
|||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
post-patch:
|
||||
${RM} ${WRKSRC}/ez_setup.py
|
||||
${RM} ${WRKSRC}/distribute_setup.py
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (yappi-0.82.tar.gz) = 1321532bd47ddb4998c1f1a95f51f2a6a0e652fdfe93f82a25e41e77dca78f23
|
||||
SIZE (yappi-0.82.tar.gz) = 29841
|
||||
SHA256 (yappi-0.92.tar.gz) = 6b8b1b222dbd6b6c1e64433ee085e0f86b0fd368f73d6cd19563a842b24cf000
|
||||
SIZE (yappi-0.92.tar.gz) = 24442
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
--- ./setup.py.orig 2014-01-06 14:49:25.000000000 +0200
|
||||
+++ ./setup.py 2014-01-07 13:42:57.722830400 +0200
|
||||
@@ -1,12 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
import os
|
||||
import sys
|
||||
-if sys.version_info >= (3, 0):
|
||||
- from distribute_setup import use_setuptools
|
||||
-else:
|
||||
- from ez_setup import use_setuptools
|
||||
-
|
||||
-use_setuptools()
|
||||
|
||||
from setuptools import setup
|
||||
from distutils.core import Extension
|
||||
@@ -74,7 +68,7 @@
|
||||
extra_compile_args = compile_args,
|
||||
extra_link_args = link_args,
|
||||
)],
|
||||
- py_modules = ["yappi", "distribute_setup", "ez_setup"],
|
||||
+ py_modules = ["yappi"],
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'yappi = yappi:main',
|
Loading…
Add table
Reference in a new issue