Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
373cf38b
Commit
373cf38b
authored
Jan 30, 2021
by
satmandu
Committed by
GitHub
Jan 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libxml2_python: Install BOTH python2 & python3 modules (#5061)
* Install python2 & python3 modules
parent
1b50b609
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
packages/libxml2_python.rb
packages/libxml2_python.rb
+17
-11
No files found.
packages/libxml2_python.rb
View file @
373cf38b
...
...
@@ -3,33 +3,39 @@ require 'package'
class
Libxml2_python
<
Package
description
'Libxml2 (python module) is the XML C parser and toolkit developed for the Gnome project.'
homepage
'http://xmlsoft.org/'
version
'2.9.10'
version
'2.9.10
-f93c
'
compatibility
'all'
source_url
'
ftp://xmlsoft.org/libxml2/libxml2-2.9.10.tar.gz
'
source_sha256
'
aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f
'
source_url
'
https://github.com/GNOME/libxml2/archive/f93ca3e140a371b26366f747a408588c631e0fd1.zip
'
source_sha256
'
0faa7455354a724e3d07c37177cbf125b3e04da91073fa0858806cb5376f2c55
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10-f93c
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10-f93c
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10-f93c
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libxml2_python-2.9.10-f93c
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'e4e0785991911d9a84fc6023345fb5bf1195b14ecff7ab32e2f5fc7e03301569
'
,
armv7l:
'e4e0785991911d9a84fc6023345fb5bf1195b14ecff7ab32e2f5fc7e03301569
'
,
i686:
'cd4f6ebe11023d88de1e9809fbfd4f1e85d4513cb34450dd9d67fa2f55d96f45
'
,
x86_64:
'a4e7d5428a898c545a2f97d41454d711224341b93782cc7e1a435c442b952ade
'
,
aarch64:
'a9a5e98c5efbaa2640f4d6b89c5bbe790c1f4b76c5eb27796c3f3fed4746f4d1
'
,
armv7l:
'a9a5e98c5efbaa2640f4d6b89c5bbe790c1f4b76c5eb27796c3f3fed4746f4d1
'
,
i686:
'e33618cc4ec9f4a0a6ee1f2a27de1a137981bb2beb6158fd6dc988bd2821d0be
'
,
x86_64:
'1cdba7d1e69a31876eabab8f84f61a883486140a9acc09f57c2f9ed27a3f912f
'
,
})
depends_on
'libxslt'
def
self
.
build
system
"autoreconf -fi"
system
"./configure
#{
CREW_OPTIONS
}
"
Dir
.
chdir
(
"python"
)
do
system
"LDFLAGS=-L
#{
CREW_LIB_PREFIX
}
python2 setup.py build"
system
"LDFLAGS=-L
#{
CREW_LIB_PREFIX
}
python3 setup.py build"
end
end
def
self
.
install
Dir
.
chdir
(
"python"
)
do
system
"python2 setup.py install --prefix=
#{
CREW_PREFIX
}
--root=
#{
CREW_DEST_DIR
}
"
system
"python3 setup.py install --prefix=
#{
CREW_PREFIX
}
--root=
#{
CREW_DEST_DIR
}
"
end
end
end
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