Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
88e9582f
Commit
88e9582f
authored
4 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-restore: update conversions (wait for bug 39003)
parent
4632ad49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
epm-restore
bin/epm-restore
+6
-5
No files found.
bin/epm-restore
View file @
88e9582f
...
...
@@ -25,19 +25,20 @@ load_helper epm-assure
# https://bugzilla.altlinux.org/show_bug.cgi?id=39003
__epm_filter_pip_to_rpm
()
{
tr
"A-Z"
"a-z"
|
sed
-e
"s|
-|_|g"
-e
"s|^python_
||"
\
tr
"A-Z"
"a-z"
|
sed
-e
"s|
_|-|g"
-e
"s|^python[-_]
||"
\
-e
"s|beautifulsoup4|bs4|"
\
-e
"s|bs4|BeautifulSoup4|"
\
-e
"s|pillow|Pillow|"
\
-e
"s|sqlalchemy|SQLAlchemy|"
\
-e
"s|flask-SQLAlchemy|flask_sqlalchemy|"
\
-e
"s|redis|redis-py|"
\
-e
"s|pyjwt|jwt|"
\
-e
"s|pytest_cov|pytest-cov|"
\
-e
"s|pymonetdb|monetdb|"
\
-e
"s|pyyaml|yaml|"
\
-e
"s|flask-migrate|Flask-Migrate|"
\
-e
"s|twisted|twisted-core|"
\
-e
"s|pymacaroons|pymacaroons-pynacl|"
\
-e
"s|pyasn1_modules|pyasn1-modules|"
\
-e
"s|pygments|Pygments|"
\
-e
"s|patch_ng|patch-ng|"
\
-e
"s|memcached|memcache|"
\
-e
"s|pyopenssl|OpenSSL|"
}
...
...
@@ -112,7 +113,7 @@ __epm_restore_convert_to_rpm_notation()
fi
fi
if
echo
"
$l
"
|
grep
-q
"; *python_version *< *'3.0'"
;
then
warning
"
$t
is python2 only requirement, skipped"
[
-n
"
$verbose
"
]
&&
warning
"
$t
is python2 only requirement, skipped"
continue
fi
__epm_pi_sign_to_rpm
"
$t
"
"
$l
"
"
$equal
"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment