diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd14cc3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +.*~ +*~ +*.swp +.repo-index +*.log +build.log.round* +*.tar.* +*.tgz +!*.tar.*.* +*.zip +commitmsg +results/ +rpms/ diff --git a/Makefile b/Makefile index 44d8521..ab212a1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := gensim -URL = http://pypi.debian.net/gensim/gensim-3.3.0.tar.gz +URL = https://files.pythonhosted.org/packages/d1/8d/f20e715f3eae5a277b13a31d440d65f294fadbc2047c4d02226e1de05b6e/gensim-3.5.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/gensim.spec b/gensim.spec index 5304d16..88fc116 100644 --- a/gensim.spec +++ b/gensim.spec @@ -3,29 +3,27 @@ # Generated by: autospec.py # Name : gensim -Version : 3.3.0 -Release : 27 -URL : http://pypi.debian.net/gensim/gensim-3.3.0.tar.gz -Source0 : http://pypi.debian.net/gensim/gensim-3.3.0.tar.gz +Version : 3.5.0 +Release : 28 +URL : https://files.pythonhosted.org/packages/d1/8d/f20e715f3eae5a277b13a31d440d65f294fadbc2047c4d02226e1de05b6e/gensim-3.5.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/d1/8d/f20e715f3eae5a277b13a31d440d65f294fadbc2047c4d02226e1de05b6e/gensim-3.5.0.tar.gz Summary : Python framework for fast Vector Space Modelling Group : Development/Tools License : LGPL-2.1 Requires: gensim-python3 +Requires: gensim-license Requires: gensim-python Requires: numpy +Requires: pytest-rerunfailures Requires: scikit-learn Requires: scipy Requires: six Requires: smart_open Requires: tensorflow BuildRequires : Cython +BuildRequires : buildreq-distutils3 BuildRequires : numpy -BuildRequires : pbr -BuildRequires : pip - -BuildRequires : python3-dev BuildRequires : scipy -BuildRequires : setuptools BuildRequires : six BuildRequires : smart_open @@ -37,6 +35,14 @@ BuildRequires : smart_open |Travis|_ |Wheel|_ +%package license +Summary: license components for the gensim package. +Group: Default + +%description license +license components for the gensim package. + + %package python Summary: python components for the gensim package. Group: Default @@ -56,18 +62,20 @@ python3 components for the gensim package. %prep -%setup -q -n gensim-3.3.0 +%setup -q -n gensim-3.5.0 %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C -export SOURCE_DATE_EPOCH=1528564391 +export SOURCE_DATE_EPOCH=1533509167 python3 setup.py build -b py3 %install rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/doc/gensim +cp COPYING %{buildroot}/usr/share/doc/gensim/COPYING python3 -tt setup.py build -b py3 install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : @@ -76,6 +84,10 @@ echo ----[ mark ]---- %files %defattr(-,root,root,-) +%files license +%defattr(-,root,root,-) +/usr/share/doc/gensim/COPYING + %files python %defattr(-,root,root,-) diff --git a/options.conf b/options.conf index 4c649ad..250428e 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = gensim -url = http://pypi.debian.net/gensim/gensim-3.3.0.tar.gz +url = https://files.pythonhosted.org/packages/d1/8d/f20e715f3eae5a277b13a31d440d65f294fadbc2047c4d02226e1de05b6e/gensim-3.5.0.tar.gz archives = giturl = https://github.com/RaRe-Technologies/gensim.git diff --git a/release b/release index f64f5d8..9902f17 100644 --- a/release +++ b/release @@ -1 +1 @@ -27 +28 diff --git a/upstream b/upstream index e3fdd38..9e5421b 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -54bfeade5310d1dc474d84e6cb165200bad0b0c8/gensim-3.3.0.tar.gz +6f58b91a1c6f9d3cacec632457253961dfd85be8/gensim-3.5.0.tar.gz