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
etersoft
eepm
Commits
03937864
Commit
03937864
authored
Jul 25, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play madcad: fix pymadcad dependency (eterbug #17558)
parent
0cbda451
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
9 deletions
+52
-9
madcad.sh
pack.d/madcad.sh
+31
-0
madcad.sh
play.d/madcad.sh
+9
-9
madcad.sh
repack.d/madcad.sh
+12
-0
No files found.
pack.d/madcad.sh
0 → 100755
View file @
03937864
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
# uimadcad_0.7_x86_64.tar.gz
BASENAME
=
$(
basename
$TAR
.tar.gz
)
VERSION
=
$(
echo
$BASENAME
|
sed
-e
's|^uimadcad_||'
|
sed
-e
's|_x86_64||'
)
erc unpack
$TAR
||
fatal
cd
linux
*
mkdir
-p
opt/madcad
mkdir
-p
usr/share
# move nessesary files to opt
mv
share/madcad opt/
mv
share/ usr/
mv
bin/madcad opt/madcad
# fix startup script
subst
's|/share/madcad|/madcad|'
opt/madcad/madcad
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar opt usr
||
fatal
return_tar
$PKGNAME
.tar
play.d/madcad.sh
View file @
03937864
#!/bin/sh
PKGNAME
=
ui
madcad
PKGNAME
=
madcad
SUPPORTEDARCHES
=
"x86_64 x86"
VERSION
=
"
$2
"
DESCRIPTION
=
'uimadcad is a GUI (Graphical User Interface) meant to ease the use of pymadcad'
...
...
@@ -10,13 +10,12 @@ URL="https://madcad.netlify.app/uimadcad"
warn_version_is_not_supported
case
"
$(
epm print info
-a
)
"
in
x86
)
arch
=
"i686"
;;
x86_64
)
arch
=
"amd64"
;;
esac
PKGURL
=
$(
eget
--list
--latest
"https://madcad.netlify.app/uimadcad"
"uimadcad*
$arch
.tar.gz"
)
PKGURL
=
$(
eget
--list
--latest
"https://madcad.netlify.app/uimadcad"
"uimadcad*
$arch
.deb"
)
install_pack_pkgurl
install_pkgurl
if
[
!
$(
epm print info
-e
)
=
'ALTLinux/Sisyphus'
]
;
then
echo
"Note: You need to install pymadcad from pip:
$
pip3 install pymadcad
"
fi
\ No newline at end of file
repack.d/madcad.sh
0 → 100755
View file @
03937864
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
add_bin_exec_command
add_requires
"python3(madcad)"
"python3(glcontext)"
add_libs_requires
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